camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From whulse <>
Subject MQTT connectAttemptsMax property does not appear to work
Date Mon, 25 Apr 2016 09:43:22 GMT
We have created a simple route from activeMQ to RabbitMQ using MQTT however
when camel starts up and the RabbitMQ broker is down, camel and activeMQ
shut down.

We have set the mqtt property connectAttemptsMax=-1 which should just retry
the connection, but this does not seem to work.

The following is the route config:


and a snippet from the log file:

[INFO] 2016-04-21 10:31:13,827 org.apache.camel.component.mqtt.MQTTEndpoint
connect - Connecting to tcp://xx.xx.xx.xx:1882 using 10 seconds timeout
[DEBUG] 2016-04-21 10:31:23,784
org.apache.activemq.transport.AbstractInactivityMonitor run - WriteChecker:
10001ms elapsed since last write check.
[WARN] 2016-04-21 10:31:12,188
org.apache.camel.component.rabbitmq.RabbitMQProducer doStart - Failed to
create connection. It will attempt to connect again when publishing a
message. Connection refused
	at Method)

Any suggestions would be appreciated

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message