Return-Path: X-Original-To: apmail-activemq-users-archive@www.apache.org Delivered-To: apmail-activemq-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 758A69D01 for ; Mon, 28 May 2012 16:28:41 +0000 (UTC) Received: (qmail 17377 invoked by uid 500); 28 May 2012 16:28:41 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 17327 invoked by uid 500); 28 May 2012 16:28:40 -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 17319 invoked by uid 99); 28 May 2012 16:28:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 May 2012 16:28:40 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of mohitanchlia@gmail.com designates 209.85.213.171 as permitted sender) Received: from [209.85.213.171] (HELO mail-yx0-f171.google.com) (209.85.213.171) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 May 2012 16:28:36 +0000 Received: by yenq11 with SMTP id q11so1654722yen.2 for ; Mon, 28 May 2012 09:28:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=rTmG0ck8cIHmF/dYklNVk27AAz1kdoPt4lWYAOTjs9o=; b=EiaIBZUOuYiQa2H+LXaPZndLSPhs8enKZS0+Dtl+iclLYXSCwPNzi7mxqlmRUC5Qp+ 7R/LtuC+0/jYXp4/ptD1RVspiW9e9RFXWTJekzHLOA3SVS0pYXRJbbAT3kV3Pphw4Rus ocEvSfBFvd0VO2lyNWx0S8zc3iJMSvtaniJuxxPb+Tos3b5PSBgwTYpkmyfNTMXbdgTt IaBmIFaQc6E6dXHcwtJfDricxxcrYVT20NcD66Ozilv3R8AljVm+yjgXkaDB68vPaYUL 2Y/C0C2IODgH4rOmiVW/z4N1J5xxfScHBNObKIpLNh+Jwu7V8VYWW/sPyZAnoAPyHaa5 YtiA== MIME-Version: 1.0 Received: by 10.50.157.194 with SMTP id wo2mr5004047igb.72.1338222494865; Mon, 28 May 2012 09:28:14 -0700 (PDT) Received: by 10.64.141.49 with HTTP; Mon, 28 May 2012 09:28:14 -0700 (PDT) In-Reply-To: References: Date: Mon, 28 May 2012 09:28:14 -0700 Message-ID: Subject: Re: Sync between 2 queues accross DC From: Mohit Anchlia To: users@activemq.apache.org Content-Type: multipart/alternative; boundary=e89a8f3b9e1f6fd81e04c11b3494 X-Virus-Checked: Checked by ClamAV on apache.org --e89a8f3b9e1f6fd81e04c11b3494 Content-Type: text/plain; charset=ISO-8859-1 On Mon, May 28, 2012 at 8:58 AM, Dejan Bosanac wrote: > Yes. The term sync you used in the original email is a bit confusing, > as a message can be only in one broker queue at the time. They will > get forwarded to the remote broker if there is demand (consumers) for > that queue on the remote broker. > Thanks! Does it send a copy or does it actually send and delete the copy? Or does it delete only after it's consumed? > > Regards > -- > Dejan Bosanac > Senior Software Engineer | FuseSource Corp. > dejanb@fusesource.com | fusesource.com > skype: dejan.bosanac | twitter: @dejanb > blog: http://www.nighttale.net > ActiveMQ in Action: http://www.manning.com/snyder/ > > > On Mon, May 28, 2012 at 5:23 PM, Mohit Anchlia > wrote: > > On Mon, May 28, 2012 at 7:18 AM, Dejan Bosanac > wrote: > > > >> Hi, > >> > >> store and forward is massively used, but you cannot sync queues across > >> brokers. In network of brokers queue is distributed over brokers and > >> messages will be load balanced between brokers. > >> > >> Could you please elaborate? > > > > If I publish a message on queue A in DC1 with no consumer wouldn't it get > > replicated to queue A in DC2 with consumer? Is this what you mean? > > > > > > > >> > >> Regards > >> -- > >> Dejan Bosanac > >> Senior Software Engineer | FuseSource Corp. > >> dejanb@fusesource.com | fusesource.com > >> skype: dejan.bosanac | twitter: @dejanb > >> blog: http://www.nighttale.net > >> ActiveMQ in Action: http://www.manning.com/snyder/ > >> > >> > >> On Sun, May 27, 2012 at 7:52 PM, Mohit Anchlia > >> wrote: > >> > What's the best way to sync messages between 2 DCs? Does anyone using > >> store > >> > forward currently between DCs? > >> > --e89a8f3b9e1f6fd81e04c11b3494--