CDI injected JMS session/sender not transactionally integrated in JBoss EAP 7
Issue
- JMS resources (
QueueSession,QueueSender) are injected using CDI - JMS message is delivered to MDBs immediately rather than being deferred to commit of the transaction in which it is published
Environment
- Red Hat JBoss Enterprise Application Platform (EAP) 7
- AMQ
- Connection#createSession(boolean, int)
jtaas defined injboss-as-datasources_1_1.xsdjboss-as-datasources_1_2.xsdjboss-as-resource-adapters_1_0.xsdjboss-as-resource-adapters_1_1.xsd
- Container Dependency Injection (CDI)
- Java Messaging Service (JMS)
- Message Driven Beans (MDB)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
