AMQ throws javax.jms.IllegalStateException: Session is not transacted

Solution Verified - Updated -

Issue

  • We're injecting a pooled-connection-factory in a CDI managed bean. However, the JMS broker throws javax.jms.IllegalStateException: Session is not transacted when trying to manually commit the JMS session on EAP 7.

Environment

  • Red Hat JBoss Enterprise Application Platform
    • 7.2.6

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