-Is this possible that JBoss does not start XA transaction before onMessage() method ?
I have the following situation:
1. one MessageDrivenBean (with "class level" @ejb.transaction type="Required" tag)
simply creates one entity EJB, then does transition by sending some XML message to the
javax.jms.Queue , by using the following statement:
qConnect = qFactory.createQueueConnection(); session = qConnect.createQueueSession(true, 0); qConnect.start(); qSender = session.createSender(q); ........ qSender.send(xmlMsg);
Check ejb-jar.xml is being generated correctly by xdoclet.
Use java:/jmsXA to get your queue connection.