Return-Path: X-Original-To: apmail-qpid-users-archive@www.apache.org Delivered-To: apmail-qpid-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 D80A41817B for ; Thu, 28 Jan 2016 19:02:41 +0000 (UTC) Received: (qmail 26400 invoked by uid 500); 28 Jan 2016 19:02:25 -0000 Delivered-To: apmail-qpid-users-archive@qpid.apache.org Received: (qmail 26361 invoked by uid 500); 28 Jan 2016 19:02:25 -0000 Mailing-List: contact users-help@qpid.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@qpid.apache.org Delivered-To: mailing list users@qpid.apache.org Received: (qmail 26349 invoked by uid 99); 28 Jan 2016 19:02:25 -0000 Received: from Unknown (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Jan 2016 19:02:25 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 24B62C0D58 for ; Thu, 28 Jan 2016 19:02:25 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 4.161 X-Spam-Level: **** X-Spam-Status: No, score=4.161 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_IMAGE_ONLY_24=1.282, HTML_MESSAGE=3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id wuPFzIUR-HLw for ; Thu, 28 Jan 2016 19:02:24 +0000 (UTC) Received: from mail-oi0-f41.google.com (mail-oi0-f41.google.com [209.85.218.41]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTPS id AAEA843B35 for ; Thu, 28 Jan 2016 19:02:23 +0000 (UTC) Received: by mail-oi0-f41.google.com with SMTP id k206so32840457oia.1 for ; Thu, 28 Jan 2016 11:02:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=xgamsgVji4v0+yraxRCOXNJY4BVB5vTrAkpzi31WWZs=; b=Ulb67j7zF6G30yAUDqEWcVfIZAT1La3Mw0pvuRUqG5o1XNBChRZqooTgROjCMI/Oai 9qawKgc3V7+2F7s3qMmZpdFWM2xX8/2TdY/dEHuMwFILgrxNQgOhsAJiE6PR8Ajqzczd UKpae7uzfVO98uTGivceJT2RDpT/v6EgmUjCUOFs2Z5a0jTlVq86aed9GLDq3/9kGYKp v92AXFlw0x52XiobzPm4JU5mMLpzG92DH3rndZ+eJlX80oeJKmSlgXjuUjcn4qySPDPl xXLGmwTCdoBiMe2Ug6KwyuLCSX1h098rBtClOmeQeLwPOhvOvjpeKI0ASnjx/3JYljIk 5Fsg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=xgamsgVji4v0+yraxRCOXNJY4BVB5vTrAkpzi31WWZs=; b=BSC0O5IWpSIbRVcetcm0n1XQPIj8QZQHwIV09pFPQbPTo2NOv5YiVEk0B6nlquhWYZ V8y2PQ6j4KBb5T+Vx9d7t6W+q1gZpd1oe4/rQ49uAZ0BKZeJVHW4mJwBJegdS6jg7PBp WNMty7LiGM+c8RuL63dCrRWMKgHrfbzPllYa/xJ0F6yi0OkhGLAVI1cIVGghYfyRLuMw yyU3xAUpOzFQ9HNP9MhWIsjkQVaAfqWvU4nWStzv7OMv8IR/t6DKGI7pgdjrh2ChPEqo ocs8aKR+GDMhMpiLPtU9HS6BZRqT12Ru5+XD2xuZw2tzgVuIU/ZpFh7WPCe3Jdey3Z42 6m0Q== X-Gm-Message-State: AG10YOShN8fOp6cUsanhYmP8U7Lu28XWTKp5w/wLLEoNlm1AgL1RJ4EpRHY28VL3SxYcWMhLxSgWzDZN3H8tgQ== MIME-Version: 1.0 X-Received: by 10.202.102.141 with SMTP id m13mr3371640oik.6.1454007736885; Thu, 28 Jan 2016 11:02:16 -0800 (PST) Received: by 10.202.196.86 with HTTP; Thu, 28 Jan 2016 11:02:16 -0800 (PST) Date: Thu, 28 Jan 2016 13:02:16 -0600 Message-ID: Subject: federated broker system with duplicate routes - no message duplication observed From: jjw tectec To: users@qpid.apache.org Content-Type: multipart/related; boundary=001a1140f866a8d234052a698ec1 --001a1140f866a8d234052a698ec1 Content-Type: multipart/alternative; boundary=001a1140f866a8d232052a698ec0 --001a1140f866a8d232052a698ec0 Content-Type: text/plain; charset=UTF-8 I've set up a simple 4-broker system, where between Bs (source broker) and Bd (destination broker) are two middle brokers set up in parallel, like this: [image: Inline image 1] The script that I used to set up all the resources & routes is shown at the end of this message. I attached a publisher to Bs and attached 3 subscribers to the other 3 brokers. What I was expecting to see was all 3 brokers should see messages. The actual observation was: Only B1 and Bf received messages. B2 never received messages, even when B1 was down. route map showed that all broker connections were set up as expected, but why would only the first route work and not the other? (I have added more brokers B3 B4... into the test, always, only the first established route would work.) Please help. Thanks jjw ----------------------script used for setting up the broker network------------------------------- ~/qpid/qpid-tools-0.32/src/py/qpid-config -a $Bs add queue $QUEUE --durable ~/qpid/qpid-tools-0.32/src/py/qpid-config -a $B1 add queue $QUEUE --durable ~/qpid/qpid-tools-0.32/src/py/qpid-config -a $B2 add queue $QUEUE --durable ~/qpid/qpid-tools-0.32/src/py/qpid-config -a $B1 add exchange topic $EX --durable ~/qpid/qpid-tools-0.32/src/py/qpid-config -a $B2 add exchange topic $EX --durable ~/qpid/qpid-tools-0.32/src/py/qpid-config -a $Bd add exchange topic $EX --durable ~/qpid/qpid-tools-0.32/src/py/qpid-config -a $B1 bind $EX $QUEUE $QUEUE --durable ~/qpid/qpid-tools-0.32/src/py/qpid-config -a $B2 bind $EX $QUEUE $QUEUE --durable ~/qpid/qpid-tools-0.32/src/py/qpid-route -v -d queue add $B1 $Bs $EX $QUEUE ~/qpid/qpid-tools-0.32/src/py/qpid-route -v -d queue add $Bd $B1 $EX $QUEUE ~/qpid/qpid-tools-0.32/src/py/qpid-route -v -d queue add $B2 $Bs $EX $QUEUE ~/qpid/qpid-tools-0.32/src/py/qpid-route -v -d queue add $Bd $B2 $EX $QUEUE --001a1140f866a8d232052a698ec0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I've set up a simple 4-broker system, where betwe= en Bs (source broker) and Bd (destination broker) are two middle brokers se= t up in parallel, like this:

3D"Inline

The script that I used to set up all the resources &= amp; routes is shown at the end of this message.
I attached a pub= lisher to Bs and attached 3 subscribers to the other 3 brokers.
W= hat I was expecting to see was all 3 brokers should see messages.
The actual observation was: Only B1 and Bf received messages. B2 never rec= eived messages, even when B1 was down.

route map s= howed that all broker connections were set up as expected, but why would on= ly the first route work and not the other? (I have added more brokers B3 B4= ... into the test, always, only the first established route would work.) Pl= ease help.


Thanks

jjw

----------------------script used for setting up = the broker network-------------------------------

=
~/qpid/qpid-tools-0.32/src/py/qpid-config -a $Bs add queue $QUEUE --du= rable
~/qpid/qpid-tools-0.32/src/py/qpid-config -a $B1 add queue = $QUEUE --durable
~/qpid/qpid-tools-0.32/src/py/qpid-config -a $B2= add queue $QUEUE --durable

~/qpid/qpid-tools-0.32= /src/py/qpid-config -a $B1 add exchange topic $EX --durable
~/qpi= d/qpid-tools-0.32/src/py/qpid-config -a $B2 add exchange topic $EX --durabl= e
~/qpid/qpid-tools-0.32/src/py/qpid-config -a $Bd add exchange t= opic $EX --durable

~/qpid/qpid-tools-0.32/src/py/q= pid-config -a $B1 bind $EX $QUEUE $QUEUE --durable
~/qpid/qpid-to= ols-0.32/src/py/qpid-config -a $B2 bind $EX $QUEUE $QUEUE --durable

~/qpid/qpid-tools-0.32/src/py/qpid-route -v -d queue add = $B1 $Bs $EX $QUEUE
~/qpid/qpid-tools-0.32/src/py/qpid-route -v -d= queue add $Bd $B1 $EX $QUEUE
~/qpid/qpid-tools-0.32/src/py/qpid-= route -v -d queue add $B2 $Bs $EX $QUEUE
~/qpid/qpid-tools-0.32/s= rc/py/qpid-route -v -d queue add $Bd $B2 $EX $QUEUE

--001a1140f866a8d232052a698ec0-- --001a1140f866a8d234052a698ec1--