How to set a commit order (how to set DB first) in JBoss EAP 7

Solution In Progress - Updated -


  • How to set a commit order (how to set DB first) in JBOSS , we are using XA datasource and connection to MQ using MQ adapter.
    our application needs the DB commit to be first (with in the XA transaction).
  • We are using MQ9, the XA race condition is a known issue, we you like to know if there is a way to ensure that when committing a XA transaction, JBoss transaction manager is doing commit to DB before commit to MQ


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

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