Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 30836 invoked from network); 1 Sep 2010 15:56:06 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 1 Sep 2010 15:56:06 -0000 Received: (qmail 60885 invoked by uid 500); 1 Sep 2010 15:56:06 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 60826 invoked by uid 500); 1 Sep 2010 15:56:06 -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 60817 invoked by uid 99); 1 Sep 2010 15:56:05 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Sep 2010 15:56:05 +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; Wed, 01 Sep 2010 15:56:03 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o81FtfJM011967 for ; Wed, 1 Sep 2010 15:55:41 GMT Message-ID: <2009610.6691283356541250.JavaMail.jira@thor> Date: Wed, 1 Sep 2010 11:55:41 -0400 (EDT) From: "Timothy Bish (JIRA)" To: dev@activemq.apache.org Subject: [jira] Commented: (AMQCPP-315) Advisory messages do not work with multiple listeners In-Reply-To: <20815160.2351282943920360.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: ae95407df07c98740808b2ef9da0087c X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/AMQCPP-315?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=61593#action_61593 ] Timothy Bish commented on AMQCPP-315: ------------------------------------- Added a fix in trunk for the issue and created a workaround in 3.2.x that should address the problem and not break ABI. Please test it out and let me know if the problem is solved. > Advisory messages do not work with multiple listeners > ----------------------------------------------------- > > Key: AMQCPP-315 > URL: https://issues.apache.org/activemq/browse/AMQCPP-315 > Project: ActiveMQ C++ Client > Issue Type: Bug > Affects Versions: 3.2.2 > Environment: Windows, ActiveMQ 5.3.1 > Reporter: Helen Huang > Assignee: Timothy Bish > Fix For: 3.2.3, 3.3.0 > > Attachments: activemq.log, AdvisoryMessageListener2.zip, IdGenerator.cpp, IdGenerator.h, vs2005-build.zip > > > We found that the advisory messages do not work as expected when there are multiple consumers listening to the same advisory topics. > We have three applications, AdvisoryMessageListener, MessageListener, and MessageSender. > AdvisoryMessageListener listens to the following two topics: > ActiveMQ.Advisory.Consumer.Topic.cpp.itemLookup > ActiveMQ.Advisory.Producer.Topic.cpp.itemLookup > MessageListener listens to topic: cpp.itemLookup > MessageSender sends messages to topic: cpp.itemLookup > If there is only one instance of AdvisoryMessageListener , then everything work fine. We can get the advisory messages when we start/shut down MessageListener or MessageSender . However, when we start a second instance of AdvisoryMessageListener , it seems to knock out the existing connection of the first AdvisoryMessageListener. The first instance can no longer receive any advisory messages after that. > This problem could be related to the problem reported in jira item "AMQCPP-314 Starting app with Com using cms destroys connection of other app. New problem with recent lib version". However in our problem, we do not have any COM layers. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.