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 Ajax receive - long "warmup" time
Date Sat, 20 Sep 2008 13:31:46 GMT

Hello,

I have following problem. I register ajax with Addlistener(). It starts
receiving after long seconds ( about 25seconds). It seems that there is a
long startup cycle in polling. HTTP traffic looks like this:

GET http://localhost:8080/ADA2/amq?timeout=0&_=
POST http://localhost:8080/ADA2/amq
...nothing happens at client side during 25 seconds
...after 25 seconds
GET http://localhost:8080/ADA2/amq?
...now every message causes following entry in log
GET http://localhost:8080/ADA2/amq?

How can I reduce this 25 seconds period, or be able to receive messages
sooner?

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


Mime
View raw message