270 Broker Interactions for Intra- and Inter-enterprise
completed; thus all affected resources (queues, databases, and so on) can
maintain or return to a consistent state, and data integrity is preserved.
If an error is generated in a message flow node, the default behavior taken by the
broker depends on how you have created and connected the message flow, and
whether the message being processed is under transactional control.
The way that the error is dealt with is determined by the following factors:
򐂰 Whether you have connected the failure terminal of the node that detects the
error.
Every built-in node has a failure terminal. If you connect this terminal to another
node or sequence of nodes, the broker expects the error that has been detected
by the node to be handled by the connected node. If you want the broker to take
action to recover or report the error that has occurred in the node, do not connect
the failure terminal.
򐂰 Whether you have included a TryCatch node in the message flow, and
connected its catch terminal to another node. See Error handling by the
TryCatch node for information about error handling by the TryCatch node.
򐂰 Whether you have included a Throw node in the message flow, or have
thrown an exception using an ESQL THROW statement in a Compute,
Database, or Filter node. You can include a Throw node at any point in the
message flow, including within an error handling path. You can also force an
exception using ESQL at any point in the message flow.
򐂰 Whether the input message in the input node is persistent, or transactional, or
both. See Error handling by the input node for information about error
handling by the input node.
򐂰 Whether the message itself is in error.
9.9 For more information
򐂰 Developing Solutions in WebSphere MQ Integrator, SG24-6579
򐂰 WebSphere MQ Integrator Deployment and Migration, SG24-6509
򐂰 Migration to WebSphere Business Integration Message Broker V5,
SG24-6995
򐂰 Using Web Services for Business Integration, SG24-6583
򐂰 WebSphere Business Integration Message Broker SupportPacs:
http://www.ibm.com/software/integration/support/supportpacs/

Get Patterns: Broker Interactions for Intra- and Inter-enterprise now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.