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

MQTT producer creation fails if network is not available at startup

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.17.2, 2.17.3
    • 2.19.0
    • camel-mqtt
    • None
    • Unknown

    Description

      Trying to use Camel in environment with unstable network came with following problem: when Camel context starts up with network not being available no matter what retry settings are set, the creation of the producer will fail, which will also by default mean failure in the creation of context.

      It would be good if behavior was similar to other components (like mina or netty), where producer tries to establish connection when it has a message to send (or periodically?)

      So, once network connection is created (maybe hours or days after creation) endpoint would be functional and all messages can be delivered given Guaranteed Delivery pattern is used.

      Can we avoid fatal exception on creation of the Endpoint?

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            dzalbo Vladimir Dzalbo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: