Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/google-apps-script/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Salesforce订阅主题_Salesforce_Mule - Fatal编程技术网

Salesforce订阅主题

Salesforce订阅主题,salesforce,mule,Salesforce,Mule,我有两个SalesForce连接器订阅/ContactTopic和/AccountTopic 现在,当我检查我的日志文件时,我注意到,在运行19个小时后(应用程序在mule enterprise上运行),每个主题都有5个订阅 INFO 2015-01-14 08:05:16,403 [HttpClient-517] org.mule.modules.salesforce.SalesforceBayeuxClient: Re-Subscribing to channel: /topic/Acco

我有两个SalesForce连接器订阅/ContactTopic和/AccountTopic

现在,当我检查我的日志文件时,我注意到,在运行19个小时后(应用程序在mule enterprise上运行),每个主题都有5个订阅

INFO  2015-01-14 08:05:16,403 [HttpClient-517] org.mule.modules.salesforce.SalesforceBayeuxClient: Re-Subscribing to channel: /topic/AccountTopic
INFO  2015-01-14 08:05:16,485 [HttpClient-517] org.mule.modules.salesforce.SalesforceBayeuxClient: Re-Subscribing to channel: /topic/ContactTopic
INFO  2015-01-14 08:05:17,067 [HttpClient-1363] org.mule.modules.salesforce.SalesforceBayeuxClient: Re-Subscribing to channel: /topic/AccountTopic
INFO  2015-01-14 08:05:17,149 [HttpClient-1363] org.mule.modules.salesforce.SalesforceBayeuxClient: Re-Subscribing to channel: /topic/ContactTopic
INFO  2015-01-14 08:06:11,247 [HttpClient-601] org.mule.modules.salesforce.SalesforceBayeuxClient: Re-Subscribing to channel: /topic/AccountTopic
INFO  2015-01-14 08:06:11,329 [HttpClient-601] org.mule.modules.salesforce.SalesforceBayeuxClient: Re-Subscribing to channel: /topic/ContactTopic
INFO  2015-01-14 08:06:17,231 [HttpClient-1576] org.mule.modules.salesforce.SalesforceBayeuxClient: Re-Subscribing to channel: /topic/AccountTopic
INFO  2015-01-14 08:06:17,313 [HttpClient-1576] org.mule.modules.salesforce.SalesforceBayeuxClient: Re-Subscribing to channel: /topic/ContactTopic
INFO  2015-01-14 08:06:19,451 [HttpClient-1603] org.mule.modules.salesforce.SalesforceBayeuxClient: Re-Subscribing to channel: /topic/AccountTopic
INFO  2015-01-14 08:06:19,533 [HttpClient-1603] org.mule.modules.salesforce.SalesforceBayeuxClient: Re-Subscribing to channel: /topic/ContactTopic
订阅之后,我只需使用datamapper将所有内容插入MYSQL数据库

这是骡子里的虫子还是我做错了什么


谢谢。

该日志文件并不一定意味着您有5个订户。如果连接出现任何问题,将重新连接订阅,这可以解释您重新订阅的原因。

我终于解决了它。非常愚蠢的一件事,我订阅了API 29,而我的应用程序使用的是31。。我认为这样一来,它就无法在“过期”通知中正确地重新订阅。无论如何,它现在正在发挥作用。谢谢

谢谢你的回答。。嗯,我认为有5条,因为每次更新帐户/联系人时,我在MYSQL数据库中都会得到5条新记录。(所有5个都有相同的数据)有趣的是,你能分享一下你的xml配置的相关部分吗?