Adapter Development Kit 6.5 | webMethods Adapter Development Kit Documentation | webMethods Adapter Development Kit Installation and User’s Documentation | Design-Time Tasks | 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 need to create a trigger that receives the document and executes a service to process the document's data. With a synchronous listener notification, you 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 in which to create the adapter service node.
3. Create a folder in the selected package.
4. Select File > New.
5. Select Adapter Notification from the list of elements.
6. On the Create a New Adapter Notification screen, type a name for your service in the Element name field and click Next.
7. On the Select Adapter Type screen, select the name of your adapter and click Next.
8. On the Select a Template screen, select a listener notification template and click Next.
9. On the Select an Adapter Connection Alias screen, select the appropriate adapter connection 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. Select an event from the Event Name field.
12. Select File > Save.
If you selected an asynchronous listener notification template, the adapter creates a listener notification and a document (named notificationNamePublishDocument). The document will be used to contain the data of the affected portion of the adapter resource (such as a database row), and to inform Integration Server of the changes. (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.