You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Roland Beisel (Jira)" <ji...@apache.org> on 2019/11/13 11:23:00 UTC
[jira] [Created] (CAMEL-14173) Durable subscriptions broken on
client restart
Roland Beisel created CAMEL-14173:
-------------------------------------
Summary: 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.x
Reporter: Roland Beisel
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)