Why are JMS specs designed in the way so that Session Object cannot be used by concurrent threads when Connection object from which Sessions are created are thread safe(Shared by thread)?
JMS Session object is typically used for Transactions. And we all know transactions are thread specific and can't span across threads. Hence a transacted JMS session can't be used across threads. I believe for this reason JMS specification says session is not thread safe.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With