[
https://issues.apache.org/jira/browse/CAMEL-14173?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen resolved CAMEL-14173.
---------------------------------
Fix Version/s: 2.25.0
Assignee: Claus Ibsen
Resolution: Fixed
> 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
> Assignee: Claus Ibsen
> Priority: Major
> Fix For: 3.0.0, 2.25.0
>
>
> 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)