activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve.V." <>
Subject I see defaultReadTimeout=-1 in, but experience 20 secs.
Date Sun, 09 Dec 2012 22:35:23 GMT
I see defaultReadTimeout=-1 in "", but when my client does
not specify a readTimeout= parameter on the URL, and there are no messages
on the queue, then my HTTP client actually experiences a timeout of 20
seconds.  Is that a bug?  Am I looking at the wrong code?

That 20 second timeout corresponds to the "maximumReadTimeout = 20000" I see
in "".  When is the defaultReadTimeout used?

I assume it is ok for my HTTP client to specify a readTimeout= value of -1. 
It appears to work.  Is -1 always going to be supported?

Stephen Vincent

Stephen Vincent
View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message