title: Erratic javax.jms.JMSException: Peer disposed
body: <p>I have a erratic problem with Java JMS.
  For moments works fine, but throws the following exception erratically and cut the execution.</p>
  
  <p>It is important to note that this occurs without stopping the broker.</p>
  
  <pre><code>javax.jms.JMSException: Peer (vm://test#1) disposed.
          at org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:49)
          at org.apache.activemq.ActiveMQConnection.onAsyncException(ActiveMQConnection.java:1773)
          at org.apache.activemq.ActiveMQConnection.onException(ActiveMQConnection.java:1790)
          at org.apache.activemq.transport.TransportFilter.onException(TransportFilter.java:99)
          at org.apache.activemq.transport.ResponseCorrelator.onException(ResponseCorrelator.java:114)
          at org.apache.activemq.transport.TransportFilter.onException(TransportFilter.java:99)
          at org.apache.activemq.transport.vm.VMTransport.iterate(VMTransport.java:203)
          at org.apache.activemq.thread.PooledTaskRunner.runTask(PooledTaskRunner.java:122)
          at org.apache.activemq.thread.PooledTaskRunner$1.run(PooledTaskRunner.java:43)
          at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
          at java.lang.Thread.run(Thread.java:619)
  Caused by: org.apache.activemq.transport.TransportDisposedIOException: Peer (vm://test#1) disposed.
  </code></pre>