Running the SearchFilter sample
Before you can run this sample, you must set up the sample, see
Setting up the User-defined Extension sample.
If you encounter any problems when you run the sample,
see Resolving problems when running samples
in the WebSphere Message Broker documentation.
Input message
To view the XML input message, see SearchFilter input message.
Run the sample
- In the Broker Development view, expand UDESampleMessageFlowProject.
Under Flow Tests double-click UDESampleSearchFilterMessage.mbtest
to open the file in the Test Client.
- Click Enqueue, then click Send Message.
The input message is sent to the
UDESAMPLE.SEARCHFILTER.IN queue. The message flow transforms the
message by using the SearchFilterNode and routes it to the UDESAMPLE.SEARCHFILTER.OUT queue.
- In the Test Client, click Dequeue.
- Click Get Message to read a
message from the UDESAMPLE.SEARCHFILTER.OUT queue.
- Compare the contents with the expected output message.
Output message
If the sample runs successfully, there are two possible output messages.
Back to Running the User-defined Extension sample
Back to sample home