activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mar_kl <markus.kl...@eml-d.de>
Subject Re: consumer receive no messages
Date Mon, 10 May 2010 09:12:54 GMT

Hi Joe,

you had the right idea, I set the prefetch queue to 1 (as I got rather long
running jobs per message) and everything works fine.

thanks a lot

Markus


Joe Fernandez wrote:
> 
> Hi Markus,
> 
> I think what may be happening is that the broker streams the default
> prefetch limit worth of messages to the first consumer that connects. You
> may want to look into lowering your prefetch limits and/or look into the
> following properties
> 
> consumersBeforeDispatchStarts
> timeBeforeDispatchStarts
> 
> http://activemq.apache.org/per-destination-policies.html
> 
> Joe
> 
> 
> mar_kl wrote:
>> 
>> Hi Joe,
>> 
>> it occurs when the consumers are started after the messages have been
>> enqueued.
>> and all settings are at the defaults.
>> 
>> Markus
>> 
>> 
>> Joe Fernandez wrote:
>>> 
>>> When this occurs, do you fire up the consumers before or after the
>>> messages have been queued up?
>>> 
>>> Are you using the default prefetch?
>>> 
>>> Joe
>>> ActiveMQ Ref Guide - http://bit.ly/AMQRefGuide
>>> 
>>> 
>>> mar_kl wrote:
>>>> 
>>>> Hi,
>>>> 
>>>> I'm using an ActiveMQ 5.3 broker embedded in geronimo 2.2.
>>>> 
>>>> I got 4-10 consumers (ActiveMQ 5.3) running on the same machine
>>>> subscribed to a message queue.
>>>> The problem that I face is that messages are not dispatched to all
>>>> consumers but only to two or even sometimes only to one.
>>>> 
>>>> any clue what I missed?
>>>> 
>>>> thanks
>>>> 
>>> 
>>> 
>> 
>> 
> 
> 

-- 
View this message in context: http://old.nabble.com/consumer-receive-no-messages-tp28489987p28509225.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message