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 | Asynchronous Listener Notifications
 
Asynchronous Listener Notifications
When you create an asynchronous notification, the MSMQ Adapter creates a publishable document type. The publishable document type defines the structure of the document that includes the Body and message properties. At run time, after the listener retrieves a message from the queue, the listener invokes the asynchronous notification. The asynchronous notification publishes the document that has the structure defined by the document type that was created along with the asynchronous notification.
An asynchronous listener notification can publish a document in either of the following ways:
*Publish to a Broker when Integration Server is connected to a Broker (default).
*Publish locally to Integration Server when Integration Server is not connected to a Broker.
To process the message from the queue, create an Integration Server trigger that subscribes to the document type that the MSMQ Adapter created along with the asynchronous notification. For more information about using triggers with services, see the Publish-Subscribe Developer’s Guide for your release.
Beginning with Integration Server 8.0, you can choose the destination to which asynchronous notifications should publish messages. Specifically, you can choose whether the asynchronous notification templates use JMS APIs to publish messages to Integration Server or webMethods Broker APIs to publish notification messages to webMethods Broker.
Note:
To use the JMS protocol with asynchronous notifications, you must first configure a JMS connection alias on Integration Server. For more information, see the webMethods Integration Server Administrator’s Guide for your release.
For steps for selecting a publish destination for asynchronous notification messages, see Listener Notifications.