We're using JMS to send out e-mail alerts. Can you tell me which of the following objects are safe to cache and...
By submitting your personal information, you agree that TechTarget and its partners may contact you regarding relevant content, products and special offers.
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
Dig Deeper on Securing services
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.