【问题标题】:How the Mule Listen other Web Application Data?Mule 如何侦听其他 Web 应用程序数据?
【发布时间】:2014-01-16 11:13:57
【问题描述】:

我想使用 Mule 集成 Salesforce 和 JIRA。两者都通过使用硬代码正确连接。但是我希望当我在salesforce中触发对象时,骡子接受接收salesforce中对象的数据。在骡子不听我的销售人员对象数据。我做的事。如果 IP 地址是“本地主机”就足够了。或者必须需要任何实时 URL。以下代码用于在我运行本地 url 时接收帐户详细信息。而不是我想要当我触发销售人员时我接收数据。代码:

    <sfdc:config name="Salesforce" username="xxxxxxxx@gmail.com" password="xxxxxxxxxxxxx" securityToken="xxxxxxxxxxxxxx" doc:name="Salesforce">
        <sfdc:connection-pooling-profile initialisationPolicy="INITIALISE_ONE" exhaustedAction="WHEN_EXHAUSTED_GROW"/>
    </sfdc:config>
    <flow name="test_projectFlow1" doc:name="test_projectFlow1">
        <http:inbound-endpoint exchange-pattern="request-response" host="localhost" port="8081" doc:name="HTTP"/>
        <sfdc:query config-ref="Salesforce" query="select Account from Account" doc:name="Salesforce"/>
        <echo-component doc:name="Echo"/>
    </flow>
</mule> 

【问题讨论】:

    标签: salesforce mule mule-studio mule-el mule-module-jpa


    【解决方案1】:

    使用流 API 让 Mule 收到有关 Salesforce 方面更改的通知。

    见:http://mulesoft.github.io/salesforce-connector/mule/sfdc-config.html#subscribe-topic

    【讨论】:

    • 但条件是不应该使用 Stream API。通过仅使用出站消息,我应该与 Mule 连接。
    • 感谢 david 使用 Salesforce Streming API。你能建议我如何使用 SOAP 组件而不是流式 API 来工作吗?
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2012-08-30
    • 2022-01-05
    • 2010-09-25
    • 2013-05-03
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多