Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 48690 invoked from network); 1 Oct 2007 09:28:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Oct 2007 09:28:45 -0000 Received: (qmail 32824 invoked by uid 500); 1 Oct 2007 09:28:34 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 32802 invoked by uid 500); 1 Oct 2007 09:28:34 -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 32793 invoked by uid 99); 1 Oct 2007 09:28:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Oct 2007 02:28:34 -0700 X-ASF-Spam-Status: No, hits=-98.8 required=10.0 tests=ALL_TRUSTED,DNS_FROM_DOB,RCVD_IN_DOB 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; Mon, 01 Oct 2007 09:28:44 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 13D5E71420E for ; Mon, 1 Oct 2007 02:28:23 -0700 (PDT) Message-ID: <21229541.1191230903078.JavaMail.jira@brutus> Date: Mon, 1 Oct 2007 02:28:23 -0700 (PDT) From: "Rainer Klute (JIRA)" To: dev@activemq.apache.org Subject: [jira] Updated: (AMQ-1095) Invalid messages selected from durable topic 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-1095?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rainer Klute updated AMQ-1095: ------------------------------ Attachment: ActiveMQ_Testcases.jar Source files now have the Apache License header. > Invalid messages selected from durable topic > -------------------------------------------- > > Key: AMQ-1095 > URL: https://issues.apache.org/activemq/browse/AMQ-1095 > Project: ActiveMQ > Issue Type: Bug > Components: Selector > Affects Versions: 5.0.0 > Reporter: Albert Strasheim > Assignee: Hiram Chirino > Fix For: 5.2.0 > > Attachments: ActiveMQ_Testcases.jar, DurableTopicSelector.java, patch_for_AMQ-1095.diff > > > We think we've found an issue with durable topic subscriptions and message selectors. > The attached application sends messages with an int property i with values 0..19 to a topic. We also have a durable subscription to the topic, selecting messages for which i%2=0. After sending the messages, the connection is started, allowing the consumer to receive the messages we've published that match the selection criterion. The second and every subsequent time we run the application, we see the following: > message.i = 19 > message.i = 0 > message.i = 2 > message.i = 4 > message.i = 6 > message.i = 8 > message.i = 10 > message.i = 12 > message.i = 14 > message.i = 16 > message.i = 18 > message.i = 19 does not match the message selector criterion but it reaches our message handler anyway. > Tested with ActiveMQ from trunk, revision 486090. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.