Hi, you have to configure the ActiveMQComponent as this <bean id="activemq" class="org.apache.activemq.camel.component.ActiveMQComponent"> <property name="brokerURL" value="failover:($master.broker.url},${slave.broker.url})" /> </bean>
2014-05-14 3:56 GMT-03:00 dancsi <andras_dancs...@epam.com>: > I have a primary and a backup JMS provider/server (Tibco EMS). The backup > is > running in standby mode and doesn't allow connections until the primary is > running fine. > > I know that a Camel route can consume from multiple endpoints but how to do > it with failover? By failover I mean that it should consume from the > primary > endpoint as long as the provider/connection is alive and connect to / > consume from the backup only when the primary goes down. > > Thanks a lot for your help. > Dan > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/JMS-consumer-failover-tp5751111.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- Ramiro Pugh