Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
org.apache.activemq.artemis.jms.client.ActiveMQConnection#createSession(boolean, int) and org.apache.activemq.artemis.jms.client.ActiveMQConnection#close have always used synchronized. However, many of the other variants of createSession don't use synchronized which can lead to concurrency issues, specifically a NullPointerException when concurrently closing a connection and creating a session from that connection.