[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: XARecovery - MQ/Messaging merge
mskonda
do-not-reply at jboss.com
Tue Sep 5 11:34:43 EDT 2006
"timfox" wrote : 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.
So, that's the reason why the message isn't delivered!!!! Would you be able to give me hand in creating that callback?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3969507#3969507
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3969507
More information about the jboss-dev-forums
mailing list