We're using JMS to send out e-mail alerts. Can you tell me which of the
following objects are safe to cache and are thread safe...
All of them are thread-safe, except QueueSender. In summary, only the following JMS classes (and their subclasses) are thread-safe:- ConnectionFactory
These are explicitly *not* thread safe:- Session
This was first published in March 2002