MSMQ Adapter 6.0 | webMethods MSMQ Adapter Documentation | webMethods MSMQ Adapter Installation and User’s Guide Documentation | Overview of MSMQ Adapter | Adapter Services | Peek Service | Run-Time Processing for Peek Services
 
Run-Time Processing for Peek Services
The following diagram shows how a Peek adapter service retrieves a copy of a message from a queue on a Messaging Queuing computer without removing the original message. When the Peek service executes, it checks the queue, retrieves a copy of the message, and converts the message data into a document.
Step
Description
1
A flow or Java service, typically invoked by an Integration Server client, initiates the Peek service on Integration Server.
You configure the Peek service, and the wrapping flow or Java service, using Designer.
2
The Peek service retrieves a connection from the connection pool associated with the service.
You configure and enable the adapter connection using Integration Server Administrator. For more information about connection pooling, including the run-time behavior of connection pools, see Connection Pools.
3
The Peek service uses the values from the input signature fields as filter criteria.
You define the input signature of the Peek service when you configure the service. The fields that you select on theFiltertab in the adapter service become the service's input signature.
4
The Peek service retrieves a copy of the message from the MSMQ queue and leaves the original message on the queue. The MSMQ message, or the properties from the output signature of the Peek service, contain the retrieved message properties and the Body.
5
The Peek service returns a message to the Integration Server that contains output signature properties. You define the output signature of the Peek service when you configure the service. The fields that you select on the Output Message Propertytab become the output signature of the service.