Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 73916 invoked from network); 19 Oct 2007 19:02:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Oct 2007 19:02:44 -0000 Received: (qmail 97686 invoked by uid 500); 19 Oct 2007 19:02:32 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 97660 invoked by uid 500); 19 Oct 2007 19:02:32 -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 97651 invoked by uid 99); 19 Oct 2007 19:02:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Oct 2007 12:02:32 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Oct 2007 19:02:43 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id CF7FB71422E for ; Fri, 19 Oct 2007 12:02:23 -0700 (PDT) Message-ID: <6737637.1192820543846.JavaMail.jira@brutus> Date: Fri, 19 Oct 2007 12:02:23 -0700 (PDT) From: "Rob Davies (JIRA)" To: dev@activemq.apache.org Subject: [jira] Resolved: (AMQ-729) Using a very simple producer and consumer messages are received in wrong order. MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/AMQ-729?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rob Davies resolved AMQ-729. ---------------------------- Resolution: Fixed Fixed by svn revision 586580 > Using a very simple producer and consumer messages are received in wrong order. > ------------------------------------------------------------------------------- > > Key: AMQ-729 > URL: https://issues.apache.org/activemq/browse/AMQ-729 > Project: ActiveMQ > Issue Type: Test > Affects Versions: 4.0 RC2 > Environment: i386-pc-solaris2.10 > Reporter: Dietrich Bollmann > Assignee: Rob Davies > Priority: Minor > Fix For: 5.0.0 > > Attachments: test.tar.gz > > > * Summary: > Using a very simple producer and consumer (I appended the code to this > message) the messages are received in the wrong order. > The following setting produced problems in 7 of 10 cases: > - One broker > - Two producers sending 100000 messages each > - One consumer > - Broker, producers and consumer are all running on the same host. > * Test protocol: > Preparations: > gunzip test.tar.gz > tar xvf test.tar > cd test > ant compile > Start the broker: > cd $ACTIVEMQ_HOME > bin/activemq > Start the consumer: > ant \ > -DconsumerName=consumer \ > -Durl=tcp://localhost:61616 \ > -DproducerCount=2 \ > -DmessageCount=100000 \ > consumer > Start the producers: > > ant \ > -DproducerName=producer1 \ > -Durl=tcp://localhost:61616 \ > -DproducerCount=2 \ > -DmessageCount=100000 \ > producer > > ant \ > -DproducerName=producer2 \ > -Durl=tcp://localhost:61616 \ > -DproducerCount=2 \ > -DmessageCount=100000 \ > producer > * Results: > Running the test 10 times the messages were received 3 times in the > right order and 7 times in a mixed up fashion: > 1. Succesfully received all messages > 2. Wrong message order: Received message 33045 after message 33043 > from producer2 > 3. Wrong message order: Received message 97909 after message 97829 > from producer1 > 4. Wrong message order: Received message 67839 after message 67837 > from producer2 > 5. Wrong message order: Received message 63717 after message 63610 > from producer2 > 6. Succesfully received all messages > 7. Wrong message order: Received message 61603 after message 61576 > from producer2 > 8. Wrong message order: Received message 51119 after message 49043 > from producer2 > 9. Succesfully received all messages > 10. Wrong message order: Received message 99710 after message 99707 > from producer1 > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.