Guaranteed reliability is the default behavior (part of the jms contract). A send transaction will allow you to batch messages, taking the fsync hit at the end of the transaction rather than on each send.
On 22 February 2011 22:33, Paul Pearcy <paul.pea...@wallst.com> wrote: > Hello, > What is the correct/best way to achieve crash proof durability of messages > with ActiveMQ? I'd like to ensure that my persistent messages have been > fsynced to disk and I know that in the case of a broker power failure, the > message will be there when the server comes back up. Do I need to use > transactions to guarantee this or do I get this with the normal persistence > option? > > Guaranteed reliability is much more important than speed for my use case. > > Thanks! > Paul > -- http://blog.garytully.com http://fusesource.com