Monday, October 31, 2011

ActiveMQ 5.3 / System.IO.EndOfStreamException / "Unable to read beyond the end of the stream.


I've got a problem with long-running message listeners in ActiveMQ. After approximately 60s, long-running operation breaks with exception - Thread was aborted.


Solution and reason are described there:

After adding: ?transport.keepAliveResponseRequired=true to connection string everything became working like a charm.