我在/ContactTopic & /AccountTopic上订阅了2个SalesForce连接器。
现在,当我检查我的日志文件时,我注意到,经过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数据库中。
这是Mule中的一个bug,还是我做错了什么?
谢谢。
发布于 2015-01-14 18:14:07
这个日志文件并不一定意味着你有5个订阅者。如果连接有任何问题,暂停将被重新连接,这可以解释您的重新订阅。
发布于 2015-01-14 21:46:29
我终于解决了这个问题。一些非常愚蠢的事情,我订阅的是API 29,而我的应用程序使用的是31..我认为这样它就不能在“到期”通知时正确地重新订阅。无论如何,它现在正在工作。谢谢!
https://stackoverflow.com/questions/27938078
复制相似问题