Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-14173

camel-paho - Durable subscriptions broken on client restart

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0.RC3
    • 3.0.0, 2.25.0
    • camel-paho
    • None
    • Unknown

    Description

      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.

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            rolandbeisel Roland Beisel
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: