activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dejan Bosanac <de...@nighttale.net>
Subject Re: producer flow control and message cursors
Date Wed, 29 Sep 2010 08:29:46 GMT
No, producer flow control is on by default with store based cursor and
it will block producers when queue limits are hit. You can
additionally configure it so that send() method of the producer will
throw an exception in that case.

Cheers
--
Dejan Bosanac - http://twitter.com/dejanb

Open Source Integration - http://fusesource.com/
ActiveMQ in Action - http://www.manning.com/snyder/
Blog - http://www.nighttale.net



On Tue, Sep 28, 2010 at 7:43 PM, Joe Niski <joe.niski@nwea.org> wrote:
> But using the default store-based cursor requires disabling Producer Flow Control, correct?
>
> Joe Niski
> IS Development |  NWEA
>
> PHONE 503.212.3382  |  FAX 503.639.7873
>
> NWEA.ORG<3D%22http://www.nwea.org/%22>  |  Partnering to Help All Kids Learn
>
> On 09/28/2010 08:13 AM, Dejan Bosanac wrote:
>
> Hi Joe,
>
> store based cursor that is used by default should do that for you,
> when the memory is full it will not more messages to the cursor, but
> will fetch them from the store (disk) when needed.
>
> Cheers
> --
> Dejan Bosanac - http://twitter.com/dejanb
>
> Open Source Integration - http://fusesource.com/
> ActiveMQ in Action - http://www.manning.com/snyder/
> Blog - http://www.nighttale.net
>
>
>
> On Tue, Sep 28, 2010 at 2:08 AM, Joe Niski <joe.niski@nwea.org><mailto:joe.niski@nwea.org>
wrote:
>> In reading he online docs and "ActiveMQ in Action", i'm left with a question: is
it possible to use both producer flow control (so producers can fire away while consumers
try to keep up with them) AND file-based message cursors (as a second line of defense against
ActiveMQ blocking producers, at the risk of filling up the disk)?
>>
>> thanks in advance,
>> Joe
>> --
>>
>> Joe Niski
>> IS Development |  NWEA
>>
>> PHONE 503.212.3382  |  FAX 503.639.7873
>>
>> NWEA.ORG<3D%22http://www.nwea.org/%22>  |  Partnering to Help All Kids Learn
>>
>
>

Mime
View raw message