From users-return-14933-apmail-activemq-users-archive=activemq.apache.org@activemq.apache.org Thu Jul 10 09:14:16 2008 Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 40928 invoked from network); 10 Jul 2008 09:14:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Jul 2008 09:14:16 -0000 Received: (qmail 34353 invoked by uid 500); 10 Jul 2008 09:14:15 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 34338 invoked by uid 500); 10 Jul 2008 09:14:15 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 34327 invoked by uid 99); 10 Jul 2008 09:14:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Jul 2008 02:14:15 -0700 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Jul 2008 09:13:22 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1KGsDg-0007GJ-JW for users@activemq.apache.org; Thu, 10 Jul 2008 02:13:44 -0700 Message-ID: <18378847.post@talk.nabble.com> Date: Thu, 10 Jul 2008 02:13:44 -0700 (PDT) From: "Bryan.Shaw" To: users@activemq.apache.org Subject: Re: Help needed. About message loss in distributed queue in network of brokers environment In-Reply-To: <18377630.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: bryan@erry.com References: <18377630.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org I discovered that the message transfer between network of brokers is handled by DemandForwardingBridgeSupport class and there is some comment on async send mode will be assumed between brokers if the producer send the message to the queue using async send mode which will cause small probability of message loss. I am now testing the sync send mode on the producer side, hope this can resolve my problem. Bryan.Shaw wrote: > > We have a distributed architecture with two brokers connnected to each > other through WAN. > > We configured it using network of brokers. > One producer sends messages to a distributed queue named "aqueue" on > broker A. > One consumer consume messages from the queue "aqueue" on broker B. > > I thought activemq is responsible for the reliability of the message > transfer. > Which means the when message are sent to aqueue at broker A, the messages > are first store on broker A's persistent store and then forwarded to > broker B's persistent store and afterwards consumed by the consumer on > broker B. If network between these two brokers are not stable, it is > activemq's job to ensure the message is delivered and delivered only once. > > But in real production environment, we found message loss when network > between the two brokers is down. > > I need proffesional help to address this issue. Is this a bug of activemq > or a configuration issue? > Can anybody give me some advice to avoid this kind of message loss? > -- View this message in context: http://www.nabble.com/Help-needed.-About-message-loss-in-distributed-queue-in-network-of-brokers-environment-tp18377630p18378847.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.