On 5/31/06, James Strachan <[EMAIL PROTECTED]> wrote:
Also what kinds of messages are you sending? If you are using
ObjectMessage and vm transport you can disable serialisation which
adds some CPU overhead. e.g. see the properties on the
ActiveMQConnection object...
http://incubator.apache.org/activemq/maven/activemq-core/apidocs/org/apache/activemq/ActiveMQConnection.html
you can enable flags like optimizedMessageDispatch, useAsyncSend,
asyncDispatch, objectMessageSerializeDefered which all tend to
increase throughput
also if you know you are not going to reuse the Message object after
sending then disable copyMessageOnSend
BTW there's a more detailed guide on tuning ActiveMQ on our devzone...
http://devzone.logicblaze.com/site/how-to-tune-activemq.html
--
James
-------
http://radio.weblogs.com/0112098/