WebSphere Message Brokers
File: ac18670_
Writer: Karen Cameron

Task topic

This build: July 31, 2007 21:19:00

Testing the message structure (Check node)

Use the Check node to test the characteristics of the message structure.

If you set the node properties appropriately, you can request that one or all of the message domain, message set, and message type are compared to a specific value. If the message matches those values for which you have requested the check, it is routed through the match terminal and is processed by the sequence of nodes that you have connected to that terminal.

If the message does not match any one of those values for which you have requested the check, it is routed through the failure terminal and is processed by the sequence of nodes that you have connected to that terminal.

For example, you might design a message flow that provides additional processing for all messages that are in the MRM domain. You can include a Check node that tests just that characteristic of the message, and passes it to a sequence of nodes that provide the specialized processing. If the message is not in the MRM domain, the extra nodes are bypassed, and the failure terminal is wired up directly to the node that follows the sequence required for MRM messages only.

Related concepts
Message flows overview
Related tasks
Using nodes for decision making
Controlling the order of processing within a message flow
Testing the message content (Filter node)
Using the destination list to route messages (RouteToLabel and Label nodes)
Related reference
Check node
Notices | Trademarks | Downloads | Library | Support | Feedback

Copyright IBM Corporation 1999, 2007Copyright IBM Corporation 1999, 2007. All Rights Reserved.
This build: July 31, 2007 21:19:00

ac18670_ This topic's URL is: