Optimizing JMS Performance
Optimizing Sender Performance
For optimized sending, you should use the
com.atomikos.jms.Queue(Topic)SenderSession and/or
com.atomikos.jms.Queue(Topic)SenderSessionPool classes: these classes take care of reusing connections/sessions, cleaning up and closing sessions when needed, and refreshing connections.
Optimizing Receiver Performance
For optimized receiving, you should use the
com.atomikos.jms.Queue(Topic)ReceiverSession and/or
com.atomikos.jms.Queue(Topic)ReceiverSessionPool classes: these classes take care of reusing connections/sessions, cleaning up and closing sessions when needed, and refreshing connections. These classes also detect incoming messages
immediately and do not use a polling approach (like many other products do).