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... Context QueueConnectionFactory Queue Connection QueueSender
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
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.