ActiveMQ not being able to start up if the RabbitMQ server using MQTT or STOMP is unavailable. The way I replicate this problem is to: 1. Configure camel.xml to use MQTT or STOMP to a remote broker 2. Stop the remote broker (RabbitMQ) 3. Restart ActiveMQ
Initially ActiveMQ starts but it then shuts down after not being able to connect to the remote broker. Environment details; Active MQ:5.10.0 Camel :2.17.0 Rabbit MQ :3.5.0 Camel.xml content below. <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:camel="http://camel.apache.org/schema/spring" xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd"> <bean id="activemq" class="org.apache.activemq.camel.component.ActiveMQComponent" > <property name="connectionFactory"> <bean class="org.apache.activemq.ActiveMQSslConnectionFactory"> <property name="brokerURL" value="vm://BMRSTESTBROKER?create=false&waitForStart=1000" /> <property name="userName" value="bmrscamel"/> <property name="password" value="bmrscamel"/> <property name="keyStore" value="/usr/local/ActiveMQ/apache-activemq-5.10.0/conf/10.53.132.136.jks"/> <property name="keyStorePassword" value="password"/> </bean> </property> </bean> <camelContext xmlns="http://camel.apache.org/schema/spring"> <route> <route> <from uri="activemq:topic://<<topic name>>?clientId=2&durableSubscriptionName=mqtt"/> <to uri="mqtt:bmrs?host=ssl://<<IP adress>>:<<port>>&qualityOfService=AtLeastOnce&publishTopicName=logs&userName=<<Vhost:user name>>&password=<<password>>&"/> </route> <route> <from uri="activemq:topic://<<topic name>>?clientId=3&durableSubscriptionName=stomp"/> <to uri="stomp:queue:logs?brokerURL=ssl://<<IP adress>>:<<port>>&login=<<user>>&passcode=<<password>>&host=<<Vhost>>"/> </route> </camelContext> </beans> -- View this message in context: http://camel.465427.n5.nabble.com/Camel-not-being-able-to-start-up-if-the-RabbitMQ-server-using-MQTT-or-STOMP-is-unavailable-tp5781420.html Sent from the Camel - Users mailing list archive at Nabble.com.