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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content