Hi What JMS broker are you using?
And are those 2 endpoints the same "queue" or are they two different queues / brokers etc. If its the same queue then the JMS broker / client typically has built-in automatic failover you can configure. For example ActiveMQ and Artemis has that. On Wed, Aug 3, 2016 at 8:29 PM, Deepak kumar <dksahoo...@gmail.com> wrote: > i have a camel route which polls a jms component and this works fine for me. > But we have another requirement here there should be 2 jms endpoints .if > first endpoint is not up then camel should polls the 2nd endpoint.Can anyone > suggest how to achieve this? thanks in advance.. > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/camel-consume-message-from-multiple-jms-endpoint-based-on-condition-tp5786002.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2