Re: asyncSend for producers in persistent mode

2011-01-12 Thread Dejan Bosanac
Hi, async send is that much faster for the exact reason it doesn't wait for the response from the broker before sending the next message. You can still get exceptions, by using ExceptionListener, but you'll lose guarantees that message is stored in the broker once your send() method return. Regar

asyncSend for producers in persistent mode

2011-01-11 Thread Anirudha Khanna
Hi, When sending messages using persistent mode and useAsyncSend=true, I noticed that the producer throughput is roughly 10x more as compared to when useAsyncSend=false. What I am trying to understand is whether it is safe to use this option if we want to guarantee that all the messages that a