activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Davies <rajdav...@gmail.com>
Subject Re: Load balancing problem
Date Fri, 05 Dec 2008 10:41:30 GMT

On 5 Dec 2008, at 09:03, zunrise wrote:

>
> Isn't their anyone who can help me. The problem is as mentioned
> http://activemq.apache.org/i-do-not-receive-messages-in-my-second-consumer.html
> here
> "The solution to this problem is to configure the pre-fetch value to
> something smaller - such as 1, start the consumers together or  
> publish the
> messages after the consumers have started."
> Again my solution have do balance the load also over allready existing
> consumers in the queue. Is it imposible or do I make something  
> wrong. Need
> still help.
>
> Denis
>
> P.S.: Thank you James for your quick reply.
>
> -- 
> View this message in context: http://www.nabble.com/Load-balancing-problem-tp20833487p20850053.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>

The best solution is to set the prefetch size to 0 - so your consumers  
pull messages from the broker.
I don't understand why that is a problem ?



cheers,

Rob

Rob Davies
http://fusesource.com
http://rajdavies.blogspot.com/







Mime
View raw message