You can use the test input messages provided in the sample to run the Simplified Database Routing message flow to query the database and process employee data returned in a result set. Four test input messages are supplied, and each message demonstrates or exercises a different route through the same flow. The name of each test client message provides a clue to the route that the message follows in the message flow. The two messages described in this section are processed by the DatabaseRetrieve node.
The test input messages called usedbretrievenode and usedbretrievenode_nofiltermatch have an identical logical structure, but the content of the messages differ.
Test message 1, in usedbretrievenode.mbtest, contains the following data:
<EmpRecord> <EmpNumber>000010</EmpNumber> </EmpRecord>
Test message 2, usedbretrievenode_nofiltermatch.mbtest contains the following data:
<EmpRecord> <EmpNumber>000020</EmpNumber> </EmpRecord>
The following diagram shows the logical structure of the two test messages:
For more information, see Working with XML messages in the WebSphere Message Broker documentation.