JBoss Community

Re: Message Acknowledgement Timeout

created by Art Carey in JBoss Messaging - View the full discussion

I trying to get my head wrapped around the XA Recovery bits(specifically in a clustered environment.)

 

Let me try to understand...

 

Assumptions:

- I have a persistent message

- Auto-Acknowledge is my acknowledgement type

 

If I have MDB running in a CMT transaction that consumes a message. It will require that the onMessage() method successfully completes to acknowledge the message. If a full crash occurrs during that onMessage() method from what I understand that unacknowledged message gets picked up by a buddy.

 

When that buddy picks up that message, will it just wait for the crashed node to recover and the XARecovery Module to tell it that it is safe to depersist that message or re-deliver?

Reply to this message by going to Community

Start a new discussion in JBoss Messaging at Community