You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In a concept of transactionality in multiple queues and handling messages by message, is there an applicable example?
In the following example go gives me an error about errors in variables when I try to create an object of type MQBO
I need to manage cmit and back only by message, I understand that the transaction is through the queue manager but when doing rollback it rolls back in all the queues belonging to that connection, however I have carried out tests and it still rolls back in queues that do not belong to the created clients
-In summary:
I have 1 mq server with 5 queues: If I rollback in one, it is done in all 5 and I only need to handle cmit or rollback per transaction
MQ 9.2, GO 1.23
The text was updated successfully, but these errors were encountered:
MQ manages transaction commit/backout at the connection level. There is no way to change that.
If you want to handle different outcomes per queue, then you would also need one connection per queue. But of course, then those connections are not coordinated among themselves.
the MQBO/MQBEGIN is for when MQ is acting as a transaction coordinator, managing external XA resources such as databases. and that requires you to be running as a locally-connected, not client-connected, application. And it's probably not what you want to use anyway.
In a concept of transactionality in multiple queues and handling messages by message, is there an applicable example?
-In summary:
I have 1 mq server with 5 queues: If I rollback in one, it is done in all 5 and I only need to handle cmit or rollback per transaction
The text was updated successfully, but these errors were encountered: