MSMQ Adapter 6.0 | webMethods MSMQ Adapter Documentation | webMethods MSMQ Adapter Installation and User’s Guide Documentation | Overview of MSMQ Adapter | Adapter Listeners and Listener Notifications | Listener Notifications | Synchronous Listener Notifications
 
Synchronous Listener Notifications
When you create a synchronous listener notification, the MSMQ Adapter creates the following document types:
*Request Document. The synchronous Request document contains the Body and message properties.
*Reply Document. At run time the listener notification invokes a specified service and passes it to the specified Request document. The service returns the Reply document to the MSMQ 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.
Note:
WmART generates both document types by default, however, the MSMQ Adapter does not use the Reply 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.