I get the exception below and JMS stop receiving messages? Any ideas?
Version: apache-activemq-5.4.0
Camel Route:
<route> <from uri="jms:topic:MyTopic"></from> <to uri="mycomponent://."></to> </route>
2011-03-14 14:10:29,776 ActiveMQ Transport: tcp://localhost/127.0.0.1:61616 DEBUG - Async exception with no exception listener: java.io.EOFException
java.io.EOFException
at java.io.DataInputStream.readInt(DataInputStream.java:375)
at org.apache.activemq.openwire.OpenWireFormat.unmarshal(OpenWireFormat.java:269)
at org.apache.activemq.transport.tcp.TcpTransport.readCommand(TcpTransport.java:212)
at org.apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.java:204)
at org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:187)
at java.lang.Thread.run(Thread.java:619)
Seems that if the JMS consumer is actively receiving data and the connection to the broker is terminated unexpectedly then you get a incomplete/partial read java.io.EOFException.