We run master slave ActiveMQ, but camel is embedded in activemq, so Camel is
not aware of the other instance. Our consumers are created by the route
builders using "activemq:" endpoints, via the connection factory using the
following spring configuration:
<bean id="activemq"
class="org.apache.activemq.camel.component.ActiveMQComponent">
<property name="connectionFactory" ref="activeMqConnectionFactory"
/>
</bean>
<bean id="activeMqConnectionFactory"
class="org.apache.activemq.spring.ActiveMQConnectionFactory"
lazy-init="true">
<property name="brokerURL" value="vm://radar-broker" />
</bean>
The brokerURL value refers to the brokerName we give via the <broker>
element in activemq.xml.
Claus Ibsen-2 wrote:
>
> Can you show the activemq configuration of the consumers?
> Are you using the failover transport, that might help?
>
> But try to get the attention of James he is export on AMQ as well.
>
--
View this message in context:
http://www.nabble.com/Activemq-Consumers-Vanish-tp21062377s22882p21081480.html
Sent from the Camel - Users mailing list archive at Nabble.com.