Monday, October 31, 2011

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

Issue

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

Solution and reason are described there: https://issues.apache.org/jira/browse/AMQNET-196

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

1 comment:

  1. All given info was wonderful and it's very helpful for everyone.We are waiting for your new blog and for useful information. Keep post more blogs.
    Oracle Fusion HCM Technical Online Training

    ReplyDelete