I use IBM.XMS (9.1.0.0) to get the message from the queue from my .NET application. Under the session, I get the message from the queue then insert into the database (SQL server), if one step failed, the session will roll back. The message will return to the queue so I can get it the next time. This works fine until one day, one message is lost and the MQ log said:
IBM.XMS.XMSException: CWSMQ0067E: Rollback failed. The Backout() operation on the underlying queue manager object failed.
Linked Exception : CompCode: 2, Reason: 2018
I'm not sure if this error is the cause, so my question is: what happens if "Rollback failed" exception appears, may the message return back to the queue or not?