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 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:
http://activemq.apache.org/message-cursors.html

Regards
-- 
Dejan Bosanac
Senior Software Engineer | FuseSource Corp.
dejanb@fusesource.com | fusesource.com
skype: dejan.bosanac | twitter: @dejanb
blog: http://www.nighttale.net
ActiveMQ in Action: http://www.manning.com/snyder/


On Wed, Sep 12, 2012 at 8:58 AM, Tlholoe, Peter <PTlholoe@fnb.co.za> 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:
> https://www.fnb.co.za/disclaimer.html
>
> If you are unable to access the Disclaimer, send a blank e-mail to
> firstrandbankdisclaimer@fnb.co.za and we will send you a copy of the Disclaimer.

Mime
View raw message