You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2019/11/13 21:05:00 UTC

[jira] [Updated] (CAMEL-14173) camel-paho - Durable subscriptions broken on client restart

     [ https://issues.apache.org/jira/browse/CAMEL-14173?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen updated CAMEL-14173:
--------------------------------
    Affects Version/s:     (was: 3.x)
                       3.0.0.RC3

> camel-paho - Durable subscriptions broken on client restart
> -----------------------------------------------------------
>
>                 Key: CAMEL-14173
>                 URL: https://issues.apache.org/jira/browse/CAMEL-14173
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-paho
>    Affects Versions: 3.0.0.RC3
>            Reporter: Roland Beisel
>            Priority: Major
>
> If a client connects to MQTT broker with cleanSession=false, the broker creates a durable subscription for the client. If the application/camel-paho is shutdown (e.g. application deployment) the client is being unsubscribed from the topic (doStop() method in PahoConsumer.java). All messages that are sent in the meantime (while the client is offline) are lost for the client (irrespective of QOS level) because of unsubscription.
> Expected behaviour: Camel / Paho Route Shutdown should not unsubscribe durable subscribers (QOS > 1) from topics.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)