In JBoss4.0.1sp1, a servlet uses JTA to commit JMS transaction?
public void doGet(..)
ctx = new InitialContext();
userTran = (UserTransaction)ctx.lookup("UserTransaction");
//JMS Sender sends msg to JMS queue using XA
userTran = null;
It seems everything goes well. But the result turns to be strange. Whether 'userTran.rollback()' or 'userTran.commit()'?msg is always put into queue(Receiver can get it from queue each time).
Would anybody please give me a hand? Thanks a lot! :)