CDI injected JMS session/sender not transactionally integrated in JBoss EAP 7

Solution In Progress - Updated -

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)
  • jta as defined in
    • jboss-as-datasources_1_1.xsd
    • jboss-as-datasources_1_2.xsd
    • jboss-as-resource-adapters_1_0.xsd
    • jboss-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.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.