Adapter for Salesforce 8.2 | webMethods Adapter for Salesforce Documentation | webMethods Adapter for Salesforce Installation and User’s Documentation | Adapter Listeners and Listener | Listeners | Configuring an Adapter Listener
 
Configuring an Adapter Listener
*To configure a Adapter for Salesforce listener
1. In Integration Server Administrator, select Adapters>Adapter for Salesforce.
2. In the Adapter for Salesforce menu, select Listeners.
3. On the Listeners screen, select Configure New Listener.
4. On the Listener Types screen, select Single Topic Listener.
5. On the Configure Listener Type screen, configure the following fields:
Parameter
Description/Action
Package
The package in which to create the listener.
Create the listener in a user-defined package rather than in the adapter's package. For other considerations when creating packages for the adapter, see Adapter Package Management.
You must create the package using Designer before you can specify the package by using this parameter. For general information about creating packages, see the webMethods Service Development Help for your release.
Folder Name
The folder in which to create the listener.
Listener Name
The name of the new listener.
Connection Name
The name of the Salesforce.com OAuth connection to associate with the listener.
From the list of connections, select an appropriate Salesforce.com OAuth connection that you created on the Configure Connections Type screen.
Important:
You must use a valid Salesforce.com OAuth connection with a listener. If you do not use a valid Salesforce.com OAuth connection, enabling the listener will return an error.
Retry Limit
The number of times that the adapter tries to reconnect, if the adapter fails to connect to or loses connection with Salesforce.com. Default: 5
Retry Backoff Timeout
The number of seconds that elapse between each of the retries specified in the retry limit. Default: 10
Important:
The listener name is prefixed by the folder name and is separated by a colon. For example, if the folder name is "Folder1" and the listener name is "Listener1", the listener name in the Listeners screen will be "Folder1:Listener1".
6. In the Listener Properties section, configure the following fields:
Parameter
Description/Action
Push EndPoint
The Force.com Streaming API endpoint URI. The default endpoint is:
/cometd/25.0
For more information about the parameter, see the Force.com Streaming API documentation.
Push Topic
The Streaming API channel to which the listener subscribes. The push topic is the basis for notifying listeners of any changes to the specified Salesforce.com records and objects.
For more information about push topics and about how to create them, see the Force.com Streaming API documentation.
Handshake Retry
The number of times the listener tries to connect to Salesforce.com in case of an error or exception. The default is 5.
Handshake Retry Interval(ms)
The time in milliseconds after which the listener tries to reconnect to Salesforce.com in case of an error or exception. The default is 1000.
HTTP Connect Timeout(ms)
The number of milliseconds that the listener waits for a response from Salesforce.com before the connection times out. The default is 30000.
HTTP Idle Timeout(ms)
The idle timeout in milliseconds after which the request that the listener sent to Salesforce.com expires. The default is 60000.
Handshake Timeout(ms)
The number of milliseconds before a handshake with Salesforce.com times out. The default is 10000.