Can you try the amq.js file located at:

https://issues.apache.org/activemq/browse/AMQ-1377

Are each of these listeners connected to a different queue or topic? How
many do you have before you notice some unresponsiveness?

-- jim


JigarP wrote:
> 
> Hi All, 
> 
>     I had posted on issue related to activemq and ajax but i did not get
> reply for that. I am having below issue. 
> 
> 1) I am using javascript setInterval method and calling amq.addListener
> method every 3 seconds as if i use default behaviour of activemq +ajax
> then sometime i am not able to get reply from server even if data is there
> in activemq(confirmed using Jconsole). 
> 
> if i am calling amq.addListener then it is creating performance issue.
> means it eats more CPU. 
> 
>    Can you suggest me that above is the rgt approach or i should use other
> approach so that i can get all messages without loosing them. 
> 
>    if above approach is correct then can you guide me how can i improve
> performance activemq?? 
> 
> awaiting your reply, 
> 
> thanking you in advance, 
> 
> J 
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/ActiveMQ-performance%28activemq-%2Bajax%29-tf4426785s2354.html#a12633789
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to