Another frequently asked question.
Is the search function really so hard to find.
I will repeat the answer (but this is the only time this month).
JBossMQ's use of the db is irrelvent, it does so in a different
If you have multiple resources in a transaction (JMS and EJB)
you don't need an XA datasource,
BUT if the commit fails you will get inconsistent results.
Two phase commit
JMS -> prepare (ok)
EJB -> DB prepare (Not XA - no support for prepare)
JMS -> commit (ok)
EJB -> commit (only supports one phase, if it fails - VERY BAD)
Thank you. BTW, I did search the forum - maybe using the wrong keywords.