Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 3483 invoked from network); 18 Jun 2009 20:11:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 18 Jun 2009 20:11:49 -0000 Received: (qmail 29769 invoked by uid 500); 18 Jun 2009 20:12:00 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 29721 invoked by uid 500); 18 Jun 2009 20:12:00 -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 29711 invoked by uid 99); 18 Jun 2009 20:11:59 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Jun 2009 20:11:59 +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.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Jun 2009 20:11:56 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 5F65E234C051 for ; Thu, 18 Jun 2009 13:11:35 -0700 (PDT) Message-ID: <2052118028.1245355895389.JavaMail.jira@brutus> Date: Thu, 18 Jun 2009 13:11:35 -0700 (PDT) From: "Igor Katkov (JIRA)" To: dev@activemq.apache.org Subject: [jira] Resolved: (AMQ-2259) network of brokers - pending messages not getting forwarded In-Reply-To: <1535798731.1242787490596.JavaMail.jira@brutus> 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/AMQ-2259?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Igor Katkov resolved AMQ-2259. ------------------------------ Resolution: Won't Fix Missconfiguration Please use duplex, networkTTL and dynamicOnly {code} {code} > network of brokers - pending messages not getting forwarded > ----------------------------------------------------------- > > Key: AMQ-2259 > URL: https://issues.apache.org/activemq/browse/AMQ-2259 > Project: ActiveMQ > Issue Type: Bug > Components: Broker > Affects Versions: 5.2.0 > Reporter: madderla prem kumar > > Hi , > Am having an issue with network of brokers where in the pending messages are not getting forwarded . Here is the scenario . > I have two brokers configured in network AMQ1 and AMQ2. I have defined a virtual topic Virtual.A > STEP 1) Publisher is publishing 10 messages on AMQ1 and AMQ2 has a consumer to the virtual queue Consumer.X.Virtual.A with a selector that matches half the messages (5 messages) published , and the web console correctly shows 5 pending messages. > STEP 2) Now I bring up a consumer Consumer.X.virtual.A on AMQ1 (with out restarting the broker) , this time with a selector matching the remaining pending messages . I have left it running for a while and dint see any messages getting forwarded from AMQ2 to AMQ1 . (am not using conduit subscription and my networkTTL is set to 5 with dynamicOnly set to true) > STEP 3) But when i restart AMQ1 , I see all messages forwarded from AMQ2 to AMQ1. > Am I missing some configuration here ? > Have another question on web console as well . > After STEP 1 on AMQ1 I see Messages sent and Messages received set to 10 and on AMQ2 messages sent was 10 and messages received was 5 while pending messages were 5 . > Why would AMQ1 show it as 10 for both receive and sent , Should i be reading it as messages received and messages forwarded. > I greatly appreciate your response . > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.