View RSS Feed

Advanced Java

JMS Performance Tips

Rate this Entry
by , 02-18-2012 at 04:17 PM (858 Views)
To avoid message queue, start consumer before producer.
To process messages, use ConnectionConsumer with ServerSessionPool.
Close all resources explicitly like connections, sessions, objects etc.
Non-transactional as well as transactional sessions should be used for non-transactional & transactional messages.
Destination parameters shall be tuned.
For messages to be received asynchronously, MessageListener shall be implemented.
Select NON_PERSISTENT messages for avoidance of the overhead persistency.
Minimum value for TimeToLive shall be set.
Use transient variables.

Submit "JMS Performance Tips" to Facebook Submit "JMS Performance Tips" to Digg Submit "JMS Performance Tips" to Submit "JMS Performance Tips" to StumbleUpon Submit "JMS Performance Tips" to Google