Running the Large Messaging sample
You can run the
Large Messaging sample to perform the following processing:
- Read a WebSphere MQ message with an XML payload containing a
repeated structure within it.
- Split each of the repeats into a single WebSphere MQ message.
- Write a WebSphere MQ message that confirms that the input
message was successfully split into multiple messages.
You might see warning messages such as Unresolvable message field reference in the Problems view of the Message Brokers Toolkit. The messages refer to the ESQL files in the sample's message flow project but can be safely ignored. The warnings do not affect the behaviour of the sample at run time.
To run the Large Messaging sample, in the Broker Application Development perspective:
- Ensure the sample message flows and message set have been deployed.
- In the Broker Development view, expand the LargeMessaging message flow project, then double-click SampleInputMessage.mbtest to open the file in the Test Client.
- In the Test Client click Enqueue.
- Click Send Message to place a
WebSphere MQ message on the
input queue of the Large Messaging message flow.
- In the Test Client click Dequeue.
- Click Get Message to read a
message from the LARGE_MESSAGING_SLICING_COMPLETE queue.
- Examine the retrieved message. The message indicates that
there were 10 messages declared in the SaleListCount element of the
input message and that 10 records were processed.
When you have observed that the value of the declared and actual
message count is the same, you have successfully run the large
messaging
sample.
Back to sample home