How to set a commit order (how to set DB first) in JBoss EAP 7
Issue
- 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
Environment
- 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.