Hi If using ActiveMQ you can take a look at http://activemq.apache.org/exclusive-consumer.html
And how to set that option in Camel ActiveMQ component http://camel.apache.org/activemq Or use message groups which is something most message brokers support http://activemq.apache.org/message-groups.html On Wed, Jun 19, 2013 at 8:38 AM, Gnanaguru S <gnanaguru.sattanat...@wipro.com> wrote: > Hi, > > I have a doubt in a HA setup. > > I have a camel application which has a JMS endpoint, say 'Entry' queue. I > have deployed this application in a 4 node cluster. > > But I want only one node to be active at a time. For example if one Camel > node is receiving any message, the other node should NOT accept any messages > parallely. > > I gone through the selective consumer & idempotent consumer, trying to get a > logical idea. But couldnt get any idea for a clustered environment. > > Please help. > > Regards > Guru > @gnanagurus > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Selective-Consumer-in-a-clustered-environment-tp5734331.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- www.camelone.org: The open source integration conference. Red Hat, Inc. FuseSource is now part of Red Hat Email: cib...@redhat.com Web: http://fusesource.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen