Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 80506 invoked from network); 17 Dec 2010 22:12:25 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 17 Dec 2010 22:12:25 -0000 Received: (qmail 82729 invoked by uid 500); 17 Dec 2010 22:12:25 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 82699 invoked by uid 500); 17 Dec 2010 22:12:25 -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 82691 invoked by uid 99); 17 Dec 2010 22:12:25 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Dec 2010 22:12:25 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Dec 2010 22:12:23 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oBHMC1HT005055 for ; Fri, 17 Dec 2010 22:12:01 GMT Message-ID: <3002864.186841292623921864.JavaMail.jira@thor> Date: Fri, 17 Dec 2010 17:12:01 -0500 (EST) From: "Alex Dean (JIRA)" To: dev@activemq.apache.org Subject: [jira] Commented: (AMQ-3094) ajax client does not receive all messages In-Reply-To: <25332324.181591292610600693.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AMQ-3094?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12972666#action_12972666 ] Alex Dean commented on AMQ-3094: -------------------------------- In AjaxTest-output.txt, also note that for the test runs where no messages are received also show 2 GET requests being made. The test run where all messages are received shows only a single GET request. I'm not sure what that means, given that the test has only a single GET. > ajax client does not receive all messages > ----------------------------------------- > > Key: AMQ-3094 > URL: https://issues.apache.org/jira/browse/AMQ-3094 > Project: ActiveMQ > Issue Type: Bug > Affects Versions: 5.4.2 > Environment: OSX 10.6 on MacBook Pro > java version "1.6.0_20" > Java(TM) SE Runtime Environment (build 1.6.0_20-b02-279-10M3065) > Java HotSpot(TM) 64-Bit Server VM (build 16.3-b01-279, mixed mode) > Reporter: Alex Dean > Attachments: AjaxTest-output.txt, AjaxTest.java, chat-send.html, include-commons-httpclient-in-pom-xml.patch > > > Not all messages written to a destination are delivered to an ajax client. This seems particularly true if more than 1 message should be returned to a client at once. Often, if 5 messages are available, only the first 1 is actually returned in the XML. The other 4 are lost. > Steps to reproduce: > * Place the attached chat-sent.html in activemq/webapps/demo/ (or in activemq-trunk/activemq-web-demo/src/main/webapp in an svn working copy). > * Start ActiveMQ. > * Browse to http://localhost:8161/demo/chat.html & join the chat room. > * In a new window, browse to http://localhost:8161/demo/chat-send.html > chat-send.html will send 5 message to topic://CHAT.DEMO. Only 1 (or sometimes 2) messages will be received by the original browser window which is subscribed to the topic. The activemq web admin will verify that 5 messages were actually sent. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.