Leaking JMS Connections when injecting @JMSContext in two CDI Beans
Issue
When I have a @JMSContext injected in two CDI beans, called by another one which is participating to a transaction, it seems that this context does not get closed after the method invocation, causing connection leakage in the connection factory and the server to become unresponsive.
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 7.1.0 - 7.2.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.