View RSS Feed

Advanced Java

JMS Performance Tips

Rate this Entry
by , 02-18-2012 at 03:17 PM (788 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 del.icio.us Submit "JMS Performance Tips" to StumbleUpon Submit "JMS Performance Tips" to Google

Categories
Performance

Comments