activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From piotr_rezmer <piotr.rez...@ens.net.pl>
Subject Re: Ajax receive - long "warmup" time
Date Wed, 01 Oct 2008 06:55:54 GMT



OneWhoMikes wrote:
> 
> You might want to look at the timeout period.  It seems like you aren't
> getting any messages until the first request times out?
> 
> I think you pass along a "readTimeout" URL variable, with a value in
> milliseconds to set the timeout of the request.  At least that's the way
> it works for REST messaging (assuming the AjaxListener uses the same
> mechanism).
> 

I tried to play with client side timeout parameter, no result. Finally i
changed timeout parameter of the servlet, it helped. Poll became more
frequent but "dead period" has been reduced too.

-- 
View this message in context: http://www.nabble.com/Ajax-receive---long-%22warmup%22-time-tp19585513p19755465.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message