WebSphere MQ Adapter 6.5 | webMethods WebSphere MQ Adapter Documentation | webMethods WebSphere MQ Adapter Installation and User’s Guide Documentation | About the WebSphere MQ Adapter | Adapter Notifications | Listener Notifications | Synchronous Listener Notifications
 
Synchronous Listener Notifications
When you create a synchronous listener notification, WebSphere MQ Adapter creates the following document types:
*Request Document. The synchronous Request document contains the msgBody, msgHeader, queueManagerName, and queueName properties.
*Reply Document. The synchronous Reply document contains the replyMsgBody and msgHeader properties.
At run time the listener notification invokes a specified adapter service and passes it to the specified Request document. The service returns the Reply document to WebSphere MQ Adapter. The listener notification waits until the service has finished processing the message before it initiates the next service. A synchronous listener notification does not publish a document.
Synchronous adapter notifications execute flow services and return values from those services. Integration Server 8.0 supports the following two execution modes to determine how the notification executes a flow service and returns output:
*Service Invoke mode: When this mode is selected, the adapter notification invokes a flow service directly and returns values as output from that service.
*Publish and Wait mode: When this mode is selected, the adapter notification publishes the received data either to the local Integration Server or to the Broker connected to that Integration Server by converting request documents into publishable documents, and then waits for a reply. This mode is needed when a synchronous adapter notification is represented as a receive step in a process model.
For steps for specifying execution modes for synchronous adapter notifications, see Listener Notifications.