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

camel-paho - Durable subscriptions broken on client restart

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0.RC3
    • Fix Version/s: 3.0.0, 2.25.0
    • Component/s: camel-paho
    • Labels:
      None
    • Estimated Complexity:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: