MQ没有消息后通道关闭,但无法自动启动
有两个MQ的channel,DISCINT(6000)都是设置的6000,但有一个通道当6000秒没有消息到达时会
AMQ9545: Disconnect interval expired.
EXPLANATION:
Channel 'XX1' closed because no messages arrived on the transmission
queue within the disconnect interval period.
AMQ9001: Channel 'XX1' ended normally.
EXPLANATION:
Channel 'XX1' ended normally.
通道关闭,并且当有新消息到达后会
AMQ9002: Channel 'FROM.BJ.TO.SZX' is starting.
EXPLANATION:
Channel 'XX1' is starting.
通道自动启动。
但另外一个通道当6000秒没有消息到达时只有
AMQ9545: Disconnect interval expired.
EXPLANATION:
Channel 'XX2' closed because no messages arrived on the transmission
queue within the disconnect interval period.
AMQ9001: Channel 'XX2' ended normally.
EXPLANATION:
Channel 'XX2' ended normally.
通道没有自动启动,必须手工启动。
这是为什么呢?需要修改什么参数呢?谢谢指点!
[解决办法]
两者的不同是:可以自动重启的通道是将消息发往本地队列,不可以自动重启的通道是将消息发往远程队列