Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-7411

camel-mqtt: TimeoutException thrown on MQTTEndpoint stop

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: jboss-fuse-6.2.1, jboss-fuse-6.3
    • Component/s: Camel
    • Labels:
      None

      Description

      If MQTTEndpoint's doStop method is execuded but a the MQTT connection is not established, the endpoint throws a TimeoutException like:

      Caused by: java.util.concurrent.TimeoutException
      at org.fusesource.mqtt.client.Promise.await(Promise.java:83)
      at org.apache.camel.component.mqtt.MQTTEndpoint.doStop(MQTTEndpoint.java:300)
      at org.apache.camel.support.ServiceSupport.stop(ServiceSupport.java:102)
      at org.apache.camel.util.ServiceHelper.stopService(ServiceHelper.java:142)
      at org.apache.camel.impl.DefaultCamelContext.stopServices(DefaultCamelContext.java:3361)
      at org.apache.camel.impl.DefaultCamelContext.addEndpoint(DefaultCamelContext.java:522)
      at org.apache.camel.component.ref.RefEndpoint.doStart(RefEndpoint.java:81)
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  oscerd Andrea Cosentino
                  Reporter:
                  roddiekieley Roderick Kieley
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: