Could anyone assist me as to how to configure JBoss for transacted Messaging involving database as well as messages in the same transaction spaning multiple statless session bean.
I am having issues with transacted messaging.
I have an ejb1(stateless session bean) in which I perform database update and then call a method on ejb2 (stateless session bean), which sends message to a message queue. As I need both, the database update and messaging, to either succeed or fail as an atomic unit, I need to start the transaction in ejb1 and span the same to ejb2.
How do I configure JBoss to use transacted JMS. I believe I need to use jmsXA however I don't know how to configure jboss for the same.