WebSphere MQ Adapter 6.5 | webMethods WebSphere MQ Adapter Documentation | webMethods WebSphere MQ Adapter Installation and User’s Guide Documentation | Adapter Services | Working with Messages in a Segment | Retrieving Inbound Messages in a Segment
 
Retrieving Inbound Messages in a Segment
Use the Get or Peek service to retrieve inbound messages from a queue that are already segmented.
*To retrieve segmented inbound messages
1. Configure a Get or Peek service using Designer.
For detailed instructions on how to configure the Get or Peek service, see either Configuring Get Services or Configuring Peek Services.
2. Set the Offset property field to a value. The segment of the message returned by the Get or Peek service depends on the Offset value. For example, if you enter a value of 0 in the Offset property field, then WebSphere MQ Adapter retrieves the first segment of the message.
Note:
WebSphere MQ Adapter filters on and searches for the value that you entered in the Offset property field. If the adapter does not find a match between the Offset value and the segmented value on the queue, then the Get or Peek service does not return a segmented message. For example, if a segmented message on the queue is 32K, then the first message is set to an appropriate Offset value of 0. However, if you enter a value of 19 in the Offset property field for a 32K message, then no exact match exists, and the Get or Peek service does not return a segmented message.
3. To retrieve inbound messages that are already segmented, invoke a series of Get or Peek services within a flow service using Designer.