Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 9574 invoked from network); 10 Jan 2011 15:49:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 10 Jan 2011 15:49:08 -0000 Received: (qmail 6554 invoked by uid 500); 10 Jan 2011 15:49:08 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 6409 invoked by uid 500); 10 Jan 2011 15:49:08 -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 6401 invoked by uid 99); 10 Jan 2011 15:49:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Jan 2011 15:49:07 +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; Mon, 10 Jan 2011 15:49:07 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id p0AFmkNo013982 for ; Mon, 10 Jan 2011 15:48:46 GMT Message-ID: <4310886.254991294674526782.JavaMail.jira@thor> Date: Mon, 10 Jan 2011 10:48:46 -0500 (EST) From: "Alex Dean (JIRA)" To: dev@activemq.apache.org Subject: [jira] Updated: (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 [ https://issues.apache.org/jira/browse/AMQ-3094?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alex Dean updated AMQ-3094: --------------------------- Attachment: all_messages_are_delivered_to_ajax_clients.2.patch Updated my svn working copy & re-generated patch due to request from Jeff Rose. Now based on trunk r1057227. > 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 > Assignee: Dejan Bosanac > Fix For: 5.5.0 > > Attachments: all_messages_are_delivered_to_ajax_clients.2.patch, all_messages_are_delivered_to_ajax_clients.patch, 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.