nerdexam
IBM

C9530-001 · Question #75

A message flow reads messages from a queue Database Node fails to insert data in the table. If no error handling and rollback is implemented in the message flow, which of the following statements is…

The correct answer is C. The error is caught by the MQ Input Node and if the Catch terminal is not connected the message. The MQInput node takes certain actions when handling errors with persistent and transactional The node attempts retry processing when a transactional message is rolled back to the input queue. Non- transactional messages are not rolled back to the input queue when an exception…

Problem Determination

Question

A message flow reads messages from a queue Database Node fails to insert data in the table. If no error handling and rollback is implemented in the message flow, which of the following statements is true?

Options

  • AThe transaction is by default rolled back in a globally coordinated manner.
  • BThe message fails the Input Node and cannot be propagated out of the Out terminal. The
  • CThe error is caught by the MQ Input Node and if the Catch terminal is not connected the message
  • DThe message flow rolls back the database transaction but not the MQ transaction unless a XA

How the community answered

(28 responses)
  • A
    18% (5)
  • B
    7% (2)
  • C
    71% (20)
  • D
    4% (1)

Explanation

The MQInput node takes certain actions when handling errors with persistent and transactional The node attempts retry processing when a transactional message is rolled back to the input queue. Non- transactional messages are not rolled back to the input queue when an exception If the MQInput node has successfully propagated the message to the out terminal and an exception is thrown in the out flow, the message is returned to the MQInput node: If you have not connected the Catch terminal, the message is rolled back to the input queue. The MQInput node writes the error to the local error log and invokes the retry logic, described in Handling retry processing. If you have connected the Catch terminal, you are responsible for handling the error in the flow connected to the Catch terminal. The broker creates a new exception list to represent the error and this list is propagated to the Catch terminal as part of the message tree, but neither the MQInput node nor the broker provide any further failure processing.

Topics

#MQ Input node#error handling#catch terminal#transaction rollback

Community Discussion

No community discussion yet for this question.

Full C9530-001 Practice