我订购了2个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
在订阅之后,我只需使用数据映射器将所有内容插入到MYSQL数据库中。
这是骡子中的错误还是我在这里做错了什么?
感谢。
答案 0 :(得分:0)
该日志文件并不一定意味着您有5个订阅者。如果连接有任何问题,将重新连接suscription,这可以解释您的重新订阅。
答案 1 :(得分:0)
我终于解决了它。有点非常愚蠢,我在API 29订阅,而我的应用程序使用31 ..我认为这样就无法在'过期'通知上正确重新订阅。无论如何,它现在正在运作。谢谢!