I'm developing an application that uses JBossMQ and has to ensure operation atomicity.
I have a thread that reads messages from a queue and puts them into another queue so if an
error occurs the operation/transaction has to be rolled back. This POJO is getting the
UserTransaction from JNDI, beginning the transaction, doing some JMS operations and then
commit() or rollback().
The problem is that whenever an error occurs even the rollback is executed it happens to
be ignored without any error and commits anyway (without explicitly calling the commit
from application code).
Just as a comment the application uses Spring. I don´t know whether this can be an issue
or not...
Any help HIGHLY appreciated :-)!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4206949#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...