Skip to main content Skip to complementary content

Configuring Talend ESB to listen for and process Salesforce notifications using the Notification WSDL

This section explains how to use Talend ESB to implement the Web Service which will be listening for notifications messages coming from Salesforce.

Procedure

  1. Download and install Talend ESB and Apache ActiveMQ.
    ActiveMQ is shipped with the Talend ESB installation if you subscribe to the commercial version.
  2. Start ActiveMQ.
    If you are not familiar with it, see Talend Help Center for more information on how to install and start ActiveMQ.
  3. Launch your Talend Studio, then open the Integration perspective.
  4. Create a new mediation route named salesforce_account_synchro for example.
  5. Drag and drop the following components to the design workspace: cMQConnectionFactory, cCxf, cExchangePattern, cJms, cSetBody, cLog.

    The route should look like this before you connect the components to each other:

  6. Right-click cCxf, select Row > Route from the contextual menu and click cExchangePattern.
  7. Repeat the previous step to connect cExchangePattern to cJms, cJms to cSetBody and cSetBody to cLog.
  8. Rename the components as follows for more clarity.
    Component Name
    cCxf webservice_salesforce.notifcation.account
    cExchangePattern InOnly
    cJms activemq_salesforce.notification.account
    cSetBody set_webservice_response
    cLog log_response
    cMQConnectionFactory activemq_connection_factory

Results

The route salesforce_account_synchro should now look like this:

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!