JMS XA transaction cannot rollback in JBoss + AMQ 6.3 RA

Solution Unverified - Updated -

Issue

I am using JBoss EAP 7.1.5 + AMQ 6.3 RA to connect external AMQ server. I tested a transaction that would write data into Oracle database and send JMS message at same time by using XA Transaction. I expected commit and rollback for both sources in single tx, however, on the second transaction only Oracle can be rollback during got exception. JMS message is still sent whatever normal commit and rollback.

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 7

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