I have to agree with Clebert.
A warm-up period is critical before taking any measurements since JIT warmup can make a
huge difference (I've noticed about a 300% performance difference).
Secondly just sending messages is not really a good measurement. One reason is that after
the call to send() has returned it doesn't mean the message has actually reached the
queue, in all likelihood it's still sitting in the client buffer waiting to be sent,
or in transit. Just measuring send speed doesn't really tell you anything.
For non persistent messages (and in some cases with persistent messages with some
providers) messages are typically sent asynchronously.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4167940#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...