[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: XARecovery - MQ/Messaging merge

timfox do-not-reply at jboss.com
Tue Sep 5 11:26:02 EDT 2006


When you load the prepared transactions from the database, you need to "reconstitute" them in exactly the same state they were in after the prepare was originally executed.

This means loading all the messages and acks into the InMemoryCallback. Otherwise when you call commit(), nothing will get delivered or acknowledged  in memory since you haven't loaded the data.

You also need to create a TxCallback (which I see you have already done) - the TXCallback doesn't need to have data populated in it, since it's data was already persisted when prepare was completed.

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

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



More information about the jboss-dev-forums mailing list