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 email address, you agree to receive emails regarding relevant topic offers from TechTarget and its partners. You can withdraw your consent at any time. Contact TechTarget at 275 Grove Street, Newton, MA.
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 SOA security tools
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.