activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dejan Bosanac <>
Subject Re: Producer flow control and vmCursor vs file based Cursor
Date Thu, 13 Sep 2012 10:48:31 GMT
Hi Peter,

a default cursor for persistent messages is store based cursor, which
keeps only a batch of messages in the memory. For non-peristent
messages a default cursor is file-based cursor. VM cursor must be
explicitly set and is suitable only for high-throughput environments
with producer flow control set. See more info on cursors:

Dejan Bosanac
Senior Software Engineer | FuseSource Corp. |
skype: dejan.bosanac | twitter: @dejanb
ActiveMQ in Action:

On Wed, Sep 12, 2012 at 8:58 AM, Tlholoe, Peter <> wrote:
> Good Day,
> If you disable producer flow control and set per destination policy, isn't it advisable
to also move away from vmCursor since all the message are dispatched from memory. Doesn't
using vmCursors defeats the whole purpose of trying to offline the message to a temporary
storage ?. Isn't it preferable to use producer flow control with file based cursor ?
> Regards,
> P
> To read FirstRand Bank's Disclaimer for this email click on the following address or
copy into your Internet browser:
> If you are unable to access the Disclaimer, send a blank e-mail to
> and we will send you a copy of the Disclaimer.

View raw message