What happens if a message is rolled back in MQ?

Posted by Manglu on Stack Overflow See other posts from Stack Overflow or by Manglu
Published on 2009-05-26T13:16:01Z Indexed on 2010/04/26 11:13 UTC
Read the original article Hit count: 213

Hi,

I receive a message from a WebSPhere MQ queue. I try to process and if i receive some exceptions i want to rollback the message to the MQ Queue.

I have no problems in doing the same. What happens to the message? Does it go to the bottom of the queue?

If i try and pull a message from the queue would i receive the same message that i rolledback?

What is the behaviour likely to be? I want to know this behaviour typically in a high volume Queue scenario?

Appreciate any inputs.

Thanks, Manglu

© Stack Overflow or respective owner

Related posts about ibm-mq

Related posts about message-queue