2015-06-16 87 views
1

我正在使用WSO2MB版本2.1.1。wso2mb:与持久订阅者错误

我有两个ESB进程订阅了使用持久订阅的主题队列。

现在,流程已经重新部署,他们不能再听这个话题了。

在ESB登录我看到:

TID: [0] [ESB] [2015-06-16 12:07:14,364] INFO {org.wso2.andes.client.AMQConnection} - Unable to connect to broker at tcp://localhost:5822 {org.wso2.andes.client.AMQConnection} 
org.wso2.andes.AMQTimeoutException: Server did not respond in a timely fashion [error code 408: Request Timeout] 

在MB日志我看到:

TID: [0] [MB] [2015-06-16 12:02:39,015] INFO {org.wso2.andes.server.protocol.AMQProtocolEngine} - Cannot subscribe to queue clientID:NewCaseUpdateLocation as it already has an existing exclusive consumer whilst processing:[BasicConsumeBodyImpl: ticket=0, 
queue=clientID:NewCaseUpdateLocation, consumerTag=1, noLocal=false, noAck=false, exclusive=true, nowait=false, arguments=null] 
{org.wso2.andes.server.protocol.AMQProtocolEngine} 

我怎样才能重新注册该订阅,或强制删除旧的?

在MB中,我无法注销,因为注册是从ESB完成的。

回答

0

这似乎是因为之前的持久订阅没有正确停用(类似的问题报告为here),因此重新部署MB时将不允许两个订阅者拥有相同的持久订阅ID,除非它是shared subscription

在MB 3.1.0版本的注意事项上,您可以从MB控制台关闭活动的持久订阅者。