activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jim Gomes" <>
Subject Re: NMS library hangs when connection to ActiveMQ is broken
Date Tue, 08 Apr 2008 17:21:06 GMT
I have checked in a fix for the timeout looping issue.  I have more
changes coming, but I felt that these changes were important enough to
get checked in as soon as possible.  Dealing with error handling code
is difficult. If anyone having this particular problem would care to
get the latest trunk code and test it out, that would be appreciated.

Remember to set the transport.requesttimeout value in your connection URI.

If you find any problems, please attach any comments to [AMQNET-81].


On 4/3/08, Jim Gomes <> wrote:
> I am currently taking a look at this.  Part of the solution is to set
> a timeout for your transport using a URI parameter like so:
> activemq:tcp://amqsrv:61616?transport.requesttimeout=10000
> Where requesttimeout is in milliseconds.  However, there is a bug with
> the timeout, because it will continuously retry after the timeout
> expires. I hope to have a fix for this soon.
> On 4/2/08, jeetukiran <> wrote:
> >
> > The NMS API calls to send and receive messages synchronously hang when the
> > connection to ActiveMQ gets broken, the expections are not relayed back to
> > the caller.
> > --
> > View this message in context:
> >
> > Sent from the ActiveMQ - User mailing list archive at
> >
> >

View raw message