Adapter Development Kit 9.12 | webMethods Adapter Development Kit Documentation | webMethods Adapter Development Kit Installation and User’s Documentation | Listener Notifications | Configuring and Testing Listener Nodes and Listener Notification Nodes | Configuring Listener Notification Nodes
 
Configuring Listener Notification Nodes
A listener notification node can be either synchronous or asynchronous. When an event occurs, an asynchronous listener notification publishes a document. You must create a trigger that receives the document and executes a service to process the document's data. With a synchronous listener notification, you can designate a flow service to process the data produced by the notification. A synchronous notification does not use a trigger.
*To configure a listener notification node
1. Start Designer.
2. Select a namespace node package where you want to create the listener notification.
3. Create a folder in the selected package, and navigate to that folder in Package Navigator.
4. Select File > New.
5. Select Adapter Notification from the list of elements.
6. In the Create a New Adapter Notification screen, type a name for your listener notification in the Element name field, and click Next.
7. In the Select Adapter Type screen, select the name of your adapter, and click Next.
8. In the Select a Template screen, select a listener notification template, and click Next.
9. In the Select an Adapter Notification Listener screen, select the appropriate adapter listener name, and click Next.
10. Perform one of the following steps:
*If you selected an asynchronous listener notification template, click Finish.
*If you selected a synchronous listener notification template, select a flow service to process the data produced by the notification, click Next, and then click Finish.
The Adapter Notification Editor opens.
11. In the Adapter Notification Editor, select an event.
12. Select File > Save.
If you selected an asynchronous listener notification template, the adapter creates a listener notification and a document named notificationNamePublishDocument. The publishable document contains the fields which are configured in the Listener Notification template.
Note:
Documents are not created for synchronous listener notifications.
When choosing the service for a synchronous notification, ensure that it does not require session data. For more information, see Synchronous and Asynchronous Listener Notifications.