[ https://issues.apache.org/jira/browse/CAMEL-11631?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Fabrizio Spataro updated CAMEL-11631: ------------------------------------- Affects Version/s: (was: 2.19.1) 2.19.2 > Camel-Paho Missiong reconnect logic > ----------------------------------- > > Key: CAMEL-11631 > URL: https://issues.apache.org/jira/browse/CAMEL-11631 > Project: Camel > Issue Type: Bug > Components: camel-paho > Affects Versions: 2.19.2 > Reporter: Fabrizio Spataro > Assignee: Fabrizio Spataro > > When it loses the connection, it is not restored. > You have to write the reconnection logic > {noformat} > [thread #2 - seda://sendToMqtt2] SedaConsumer WARN Error > processing exchange. Exchange[]. Caused by: > [org.eclipse.paho.client.mqttv3.MqttException - Client is not connected] > Client is not connected (32104) > at > org.eclipse.paho.client.mqttv3.internal.ExceptionHelper.createMqttException(ExceptionHelper.java:31) > at > org.eclipse.paho.client.mqttv3.internal.ClientComms.sendNoWait(ClientComms.java:166) > at > org.eclipse.paho.client.mqttv3.MqttAsyncClient.publish(MqttAsyncClient.java:1027) > at > org.eclipse.paho.client.mqttv3.MqttClient.publish(MqttClient.java:399) > at > org.apache.camel.component.paho.PahoProducer.process(PahoProducer.java:43) > at > org.apache.camel.util.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge.process(AsyncProcessorConverterHelper.java:61) > at > org.apache.camel.processor.SendProcessor.process(SendProcessor.java:145) > at > org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:77) > at > org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:541) > at > org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:198) > at > org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:198) > at > org.apache.camel.component.seda.SedaConsumer.sendToConsumers(SedaConsumer.java:298) > at > org.apache.camel.component.seda.SedaConsumer.doRun(SedaConsumer.java:207) > at > org.apache.camel.component.seda.SedaConsumer.run(SedaConsumer.java:154) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) > at java.lang.Thread.run(Thread.java:748) > {noformat} -- This message was sent by Atlassian JIRA (v6.4.14#64029)