Luca Burgazzoli created CAMEL-10695:
---------------------------------------
Summary: camel-mqtt: TimeoutException thrown on MQTTEndpoint stop
Key: CAMEL-10695
URL: https://issues.apache.org/jira/browse/CAMEL-10695
Project: Camel
Issue Type: Bug
Components: camel-mqtt
Reporter: Luca Burgazzoli
Assignee: Luca Burgazzoli
Priority: Minor
Fix For: 2.18.2, 2.19.0
If MQTTEndpoint's doStop method is execuded but a the MQTT connection is not
established, the endpoint throws a TimeoutException like:
{code}
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)
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)