QuestionQ36

VerifiedMonitoring and operations

The following flow handles balance transfers between accounts. It first logs the request by placing it on the logging queue before processing it in the database node. However, the solution developer is trying to resolve an issue in which log requests do not appear on the queue when the Process Transfer node fails because of a database error.

Question Image

Which change should be made to resolve this issue and ensure that log request messages are put on the queue whether the database processing succeeds or fails?

Explanation

Setting an MQOutput node’s Transaction Mode to No writes the message non-transactionally. The log message is therefore committed independently and is not rolled back when the later database operation fails. IBM documents that Transaction Mode controls whether an MQOutput message is put transactionally, and that setting it to No immediately commits an in-flight message.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!