You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by ladygaga <XW...@StateStreet.com> on 2013/06/20 04:16:17 UTC

Re: Question about Multiple Consumers / Same Queue

I was currently using NMS to develop application based ActiveMQ(5.6), too.

We have several consumers(exe) trying to recieving massgaes from the same
queue(not topic). While all the messages just all go to one consumer though
I have make the consumer to sleep for seconds after recieving a message.

How did you configure your ActiveMQ because consumers in our demo can't
bahave like yours?




--
View this message in context: http://activemq.2283324.n4.nabble.com/Question-about-Multiple-Consumers-Same-Queue-tp4665585p4668391.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Question about Multiple Consumers / Same Queue

Posted by Christian Posta <ch...@gmail.com>.
You should be able to control the consumer prefetch with the NMS client.
Take a look here:

http://activemq.apache.org/nms/activemq-uri-configuration.html


On Wed, Jun 19, 2013 at 10:16 PM, ladygaga <XW...@statestreet.com>wrote:

>
> I was currently using NMS to develop application based ActiveMQ(5.6), too.
>
> We have several consumers(exe) trying to recieving massgaes from the same
> queue(not topic). While all the messages just all go to one consumer though
> I have make the consumer to sleep for seconds after recieving a message.
>
> How did you configure your ActiveMQ because consumers in our demo can't
> bahave like yours?
>
>
>
>
> --
> View this message in context:
> http://activemq.2283324.n4.nabble.com/Question-about-Multiple-Consumers-Same-Queue-tp4665585p4668391.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>



-- 
*Christian Posta*
http://www.christianposta.com/blog
twitter: @christianposta