Configuring a Synchronous Listener Notification
To configure a synchronous listener notification
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 Sync Listener Notification as the template and click Next.
7. Select the appropriate Notification Listener Name and click Next.
8. Select the appropriate Service Node and click Next.
9. Click Finish.
The Adapter Notification template creates the following items:
A Synchronous Listener Notification
Two Synchronous Document Types:
A Synchronous Reply Document Type
A Synchronous Request Document Type
10. On the Sync 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 Request Document Type. For each Pushtopic Name, the parameters that the sObject contains match the SOQL query that the push topic is configured with.
11. Select the Adapter Settings tab to view the adapter properties and to select the appropriate service name for the synchronous notification.
The following fields in the Adapter Properties section are read-only:
Adapter Properties | Description |
Adapter Name | The name of the adapter. |
Adapter Listener Name | The name of the adapter listener that you selected when you configured the synchronous notification. |
Adapter Notification Template | The name of the adapter notification template that you selected when you configured the synchronous notification. |
12. Specify one of the following modes in the Execution Mode section:
To invoke a flow service directly, select
Service Invoke and specify the following field:
Property | Description |
Service Name | The name of the service, which you selected when you initially configured the adapter listener notification, appears in the Service Name field. |
To publish documents locally or to a
Broker and wait for a reply, select
Publish and Wait and specify the following fields:
Properties | Description |
Local | Select true to publish documents locally (to the running Integration Server only) or false to publish to the Broker connected to the Integration Server. Note: If no Broker is configured for Integration Server, documents will be published locally. |
Wait Time | Specify the number of milliseconds to wait for a reply. The default is -1, which means to wait indefinitely. |