圖片為我的接收消息的方法關閉session和結束連接的方式
在ActiveMQ的後台中多次出現
2015-12-25 15:55:39,271 | WARN | Transport Connection to: tcp://127.0.0.1:14720 failed: java.io.EOFException | org.apache.activemq.broker.TransportConnection.Transport | ActiveMQ Transport: tcp:///127.0.0.1:14720@61616
2015-12-25 15:55:43,395 | WARN | Transport Connection to: tcp://127.0.0.1:14712 failed: java.net.SocketException: Connection reset | org.apache.activemq.broker.TransportConnection.Transport | ActiveMQ Transport: tcp:///127.0.0.1:14712@61616
2015-12-25 15:56:16,830 | WARN | Transport Connection to: tcp://127.0.0.1:14725 failed: java.net.SocketException: Connection reset | org.apache.activemq.broker.TransportConnection.Transport | ActiveMQ Transport: tcp:///127.0.0.1:14725@61616
這種警告,每次警告的端口都不一樣 ,求幫我分析下原因和給個處理方案
MQ采用的是5.9版本 最近看才開始學習使用
http://www.oschina.net/question/191599_224561