It would seem that the problem with the poster is completely different. The link refers to a noisy INFO level log message, but above (which is also what I get) is a thrown JMSException that has these additional lines from the Caused by: clause.
at org.apache.activemq.transport.vm.VMTransport.oneway(VMTransport.java:88) at org.apache.activemq.transport.MutexTransport.oneway(MutexTransport.java:68) at org.apache.activemq.transport.ResponseCorrelator.oneway(ResponseCorrelator.java:60) at org.apache.activemq.ActiveMQConnection.doAsyncSendPacket(ActiveMQConnection.java:1275) ... 31 more
The odd part is checking connection.isClosed () before it closes. Thus, the connection is open, but the peer is still located. Exploring other potential answers online, the only possible solution is that the connection to the broker is intact, but the specific queue may be closed.
In my particular case, this happened when the broker was stopped, but consumers and manufacturers were still trying to make connections. Sometimes the connection was still considered open (i.e., not closed, even if the broker was stopped). Fixing this so that the broker would not die fixed my problem.
I also wanted to add that I saw this question in ActiveMQ 5.6 (but I did not test it in 5.8).
source share