Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 57247 invoked from network); 12 Jun 2007 14:34:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Jun 2007 14:34:13 -0000 Received: (qmail 83617 invoked by uid 500); 12 Jun 2007 14:34:09 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 83598 invoked by uid 500); 12 Jun 2007 14:34:09 -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 83583 invoked by uid 99); 12 Jun 2007 14:34:09 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Jun 2007 07:34:09 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.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; Tue, 12 Jun 2007 07:34:05 -0700 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1Hy7RI-0001le-Kw for dev@activemq.apache.org; Tue, 12 Jun 2007 07:33:44 -0700 Message-ID: <11079399.post@talk.nabble.com> Date: Tue, 12 Jun 2007 07:33:44 -0700 (PDT) From: chahir To: dev@activemq.apache.org Subject: duplicate messages when re-activate receiver MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: chahir_e@yahoo.fr X-Virus-Checked: Checked by ClamAV on apache.org Hi, I have 3 brokers which one has a sender application and the 2 others have receiver applications. I want to verify if messages will be successfully delivered if I disconnect a receiver and activate the other many times. The problem was that when I send messages (20000 for exple),the first receiver will consume them until I disconnect him(the application and not the broker).If I activate the other receiver, it will consume the rest. At the end, when all the messages are sent, if I activate the first receiver, it will consume messages already consumed by the 2nd from his broker(duplicated messages). Is there a solution to avoid messages duplication(Broker1 send their messages to the 2nd and so the sender wil not send duplicated messages)? Thank you for your answer. Bye. -- View this message in context: http://www.nabble.com/duplicate-messages-when-re-activate-receiver-tf3907725s2354.html#a11079399 Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.