Adapter Development Kit 6.5 | webMethods Adapter Development Kit Documentation | webMethods Adapter Development Kit Installation and User’s Documentation | Using the Sample Adapter | Phase 5: Adding Listener Notifications | Configuring and Testing the Listener and the Listener Notification Nodes | Configuring the Listener Node
 
Configuring the Listener Node
Perform the following procedure to configure the listener node.
*To configure the listener node
1. On the Integration Server Administrator > Adapters screen, click Sample Adapter.
The Sample Adapter management screen opens.
2. Select Connections.
3. Configure a new connection node named listenerConnection in the TestSampleAdapter package, and enable the connection, as described in Configuring the Connection Node.
4. On the Sample Adapter management screen, click Listeners.
5. Click Configure New Listener.
6. On the Listener Types screen, click Sample Server Listener.
7. Complete the Configure Listener Type > Sample Adapter section as follows:
Parameter
Description
Package
Select the namespace node package TestSampleAdapter. This is the package in which you will create the listener.
Folder Name
Type the folder name listeners. This is the folder in which you will create the listener.
Listener Name
Type the listener name sampleListener.
Connection
Select the connection node connections:listenerConnection.
Retry Limit
Accept the default value 5, which specifies the number of times that the system should attempt to start the listener if the initial attempt fails. Specifically, it specifies how many times to retry the listenerStartup method before issuing an AdapterConnectionException. The value 0 means that the system makes a single attempt.
Retry Backoff Timeout
Accept the default value 10, which specifies the number of seconds the system should wait between each attempt to start the listener.
8. Click Save Listener.
Note:
Enabling the listener before you configure and enable its corresponding listener notification node produces a warning.