activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hervé BARRAULT <>
Subject ConcurrentConsumers and ExclusiveConsumers
Date Fri, 09 Mar 2012 10:10:16 GMT

I have seen two different interesting options in activemq which are :
   For a destination [activemq] : consumer.exclusive=true
   For a consumer [camel-activemq]: concurrentConsumers=XX

Is it possible to mix these two options.

The idea behind is simple.

I have a Broker on 1 JVM.

And 2 JVMs which are able to listen to the queue.

I would have on each JVM XX concurrentConsumers (in order to increase
throughtput) but i would only that one JVM process all the messages the
second one would take these messages only if the first one fail.

Is there a way to have this behavior ?


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