Re: Non-persistent queue, asyncSend

2010-01-15 Thread Joe Fernandez
I am not comparing the throughput of non-persistent messages with persistent messages that have asyncSend. I am just pointing out that your throughput for sending persistent messages will improve if you send the persistent messages with asyncSend. Question is, what is the risk-level of sending per

Re: Non-persistent queue, asyncSend

2010-01-15 Thread jongraf
Much appreciated Joe. Let me get this straight: higher throughput with persistent messaging + asyncSend vs. non-persistent messaging? It wouldn't be the same throughput? Joe Fernandez wrote: > > Non-persistent messages are, by default, sent asynchronously (a.k.a., fire > and forget). > > Ye

Re: Non-persistent queue, asyncSend

2010-01-15 Thread Joe Fernandez
Non-persistent messages are, by default, sent asynchronously (a.k.a., fire and forget). Yes, if you send persistent messages with asyncSend, you will realize a nice boost in throughput. Joe http://www.ttmsolutions.com jongraf wrote: > > Two questions: > 1) Is asyncSend set to true by defaul

Non-persistent queue, asyncSend

2010-01-15 Thread jongraf
Two questions: 1) Is asyncSend set to true by default if I am using non-persistent messaging? The line of code where this is determined is ActiveMQSession line 1670, 1680: if (sendTimeout <= 0 && !msg.isResponseRequired() && !connection.isAlwaysSyncSend() && (!msg.isPersistent() ||