camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Müller <>
Subject Re: Selective Consumer in a clustered environment
Date Wed, 19 Jun 2013 10:32:25 GMT
Which kind of container do you use? Which set up?
With Karaf/ServiceMix, you can have a Master/Slave set up. This will make
sure only one service is started. Otherwise, I'm afraid you have to do it
by your own:
- Route start flag up should be false in this case and some "route manager"
determine which route should be started - something like this).
- Or extend the JMS/ActiveMQ component to grab a lock before the endpoint
will start listening...


Christian Müller

Software Integration Specialist

Apache Camel committer:
V.P. Apache Camel:
Apache Member:

On Wed, Jun 19, 2013 at 8:38 AM, Gnanaguru S <> 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:
> Sent from the Camel - Users mailing list archive at

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message