Adapter Development Kit 9.12 | webMethods Adapter Development Kit Documentation | webMethods Adapter Development Kit Installation and User’s Documentation | Polling Notifications | Overview
 
Overview
 
Implementing Polling Notifications
A polling notification is a facility that enables an adapter to initiate activity on Integration Server, based on events that occur in the adapter resource. A polling notification monitors an adapter resource for changes (such as an insert, update, or delete operation) so that the appropriate flow or Java services can react.
The users of the adapter can perform the following:
*Create a polling notification using Designer. An adapter connection node created earlier is assigned to the notification. At the same time, Designer creates a Document Type that describes the data generated by the polling notification when it executes. The notification publishes this document to Integration Server. For more information on Integration Server publishable documents, see the Publish-Subscribe Developer’s Guide for your release.
*Create a Integration Server trigger to process a document published by the notification. When Integration Server receives a document, the trigger invokes the flow or Java service registered with the trigger. The service then processes the data contained in the notification's document.
*Configure the notification scheduling parameters that specify the interval at which Integration Server must invoke the notification, and then enable the notification, using Integration Server Administrator. For instructions on creating and using polling notification nodes, see Configuring and Testing Polling Notification Nodes.
For example, when a record is inserted in the database table, which is monitored by a polling notification:
*The polling notification publishes the polling notification document to Integration Server messaging system.
*Integration Server receiving the published document, triggers a flow or Java service that processes the data contained in the document.