[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 09:54:45 EDT 2006


Let me just clarify what you're doing:

1. You have a durable subscriber on a destination.

2. You send a messsage to the sub in a global transaction

3. The tx is committed.

4. Prepare completes ok.

5. You force a server "crash".

6. On recovery of the server, the database looks ok (it is in state C).

7. Try to receive() message using a consumer on the subscription and you cannot receive message.

Have I got this right?

[BTW recover() can be called on the XAResource *after* the channel has been loaded - so you can't rely on channel.load() loading all the recovered data.]

How you verified that the recovered data is reloaded when the channel is loaded?

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

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



More information about the jboss-dev-forums mailing list