activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Niski <joe.ni...@NWEA.org>
Subject Re: producer flow control and message cursors
Date Tue, 28 Sep 2010 18:15:46 GMT
One additional question:

When using the default store-based message cursor, what happens when the store is full? Does
ActiveMQ throw an exception to the producer, or does it block until messages are consumed?

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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message