[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: Session recovery on rollback

adrian@jboss.org do-not-reply at jboss.com
Fri Jul 14 09:33:11 EDT 2006


On the XAResource question, the timing is completely out of your control.

It could be an infinite delay  if the TM's transaction log is not recovered
after a prepared JTA transaction and then a crash.

All you can do is put the messages back in the queue/subscription
when the TM does decide to rollback.
This could be "long after" the consumer, session or connection
has disappeared.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958067#3958067

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958067



More information about the jboss-dev-forums mailing list