activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james.strac...@gmail.com>
Subject Re: Load balancing problem
Date Fri, 05 Dec 2008 10:43:06 GMT
2008/12/5 Rob Davies <rajdavies@gmail.com>:
>
> 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 ?

I'm not sure if NMS supports setting the prefetch value on the
destination using the URI notation does it?

-- 
James
-------
http://macstrac.blogspot.com/

Open Source Integration
http://fusesource.com/

Mime
View raw message