Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 60542 invoked from network); 12 Sep 2007 03:46:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Sep 2007 03:46:43 -0000 Received: (qmail 1807 invoked by uid 500); 12 Sep 2007 03:46:36 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 1785 invoked by uid 500); 12 Sep 2007 03:46:36 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 1776 invoked by uid 99); 12 Sep 2007 03:46:36 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Sep 2007 20:46:36 -0700 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Sep 2007 03:48:09 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1IVJB6-0004yT-Eu for dev@activemq.apache.org; Tue, 11 Sep 2007 20:46:12 -0700 Message-ID: <12628180.post@talk.nabble.com> Date: Tue, 11 Sep 2007 20:46:12 -0700 (PDT) From: JigarP To: dev@activemq.apache.org Subject: ActiveMQ performance (activemq +ajax) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: jigar.prajapati@gmail.com X-Virus-Checked: Checked by ClamAV on apache.org 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-tf4426784s2354.html#a12628180 Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.