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. dej...@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 <ptlho...@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 > firstrandbankdisclai...@fnb.co.za and we will send you a copy of the > Disclaimer.