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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In