Adapter for Salesforce 8.2 | webMethods Adapter for Salesforce Documentation | webMethods Adapter for Salesforce Installation and User’s Documentation | Adapter Listeners and Listener | Listener Notifications | Configuring Listener Notifications | Configuring an Asynchronous Listener Notification
 
Configuring an Asynchronous Listener Notification
*To configure an asynchronous listener notification
1. Review the steps in Before Configuring Listener Notifications.
2. Start Designer.
3. Right-click the package in which the listener notification should be contained and select New > Adapter Notification.
4. Select the parent namespace, type a name for the adapter listener notification, and click Next.
5. Select Adapter for Salesforce as the adapter type and click Next.
6. Select Async Listener Notification as the template and click Next.
7. Select the appropriate Notification Listener Name and click Next.
8. Click Finish.
Designer creates an asynchronous listener notification and an asynchronous publishable document type, and the editor for the adapter notification appears.
9. On the Async Notification tab, select a push topic from the drop-down list in the Pushtopic Name field and click Save.
Important:
You should select a Pushtopic Name that matches the push topic to which the listener that you associated with the listener notification is subscribed. Selecting a different Pushtopic Name will result in an error.
When you select a Pushtopic Name, an sObject parameter appears in the asynchronous publishable document type. For each Pushtopic Name, the parameters that the sObject contains match the SOQL query that the push topic is configured with.
10. To specify how you want the listener notification document to be published, in the Publish Document section on the Adapter Settings tab do one of the following:
*To publish documents to a Broker, select webMethods Broker/Local. This is the default option.
*To publish documents to a JMS provider, select JMS Provider, and provide values for the following input fields:
Field
Description
Connection alias name
Specifies the name of the JMS connection alias configured on Integration Server.
If the connection alias is a Broker Cluster configured with Multisend Guaranteed policy, you must add the watt property watt.art.notification.jmsSend.usePublicService and set it to true.
Note:
Adapter Runtime does not support LOCAL_TRANSACTION and XA_TRANSACTION type JMS connection alias.
Destination name
Specifies the name of the destination from which you want the JMS trigger to receive messages.
Destination type
Specifies whether the destination is a Queue (default) or a Topic.
You can select the Adapter Settings tab at any time to confirm a listener notification’s properties such as the Adapter Name, Adapter Listener Name, and Adapter Notification Template as necessary.