From users-return-10774-apmail-qpid-users-archive=qpid.apache.org@qpid.apache.org Tue Jul 22 15:07:59 2014 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 4E29A11762 for ; Tue, 22 Jul 2014 15:07:59 +0000 (UTC) Received: (qmail 46197 invoked by uid 500); 22 Jul 2014 15:07:59 -0000 Delivered-To: apmail-qpid-users-archive@qpid.apache.org Received: (qmail 46164 invoked by uid 500); 22 Jul 2014 15:07:58 -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 46153 invoked by uid 99); 22 Jul 2014 15:07:58 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Jul 2014 15:07:58 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of crolke@redhat.com designates 209.132.183.39 as permitted sender) Received: from [209.132.183.39] (HELO mx6-phx2.redhat.com) (209.132.183.39) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Jul 2014 15:07:56 +0000 Received: from zmail12.collab.prod.int.phx2.redhat.com (zmail12.collab.prod.int.phx2.redhat.com [10.5.83.14]) by mx6-phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s6MF7Uld004583 for ; Tue, 22 Jul 2014 11:07:30 -0400 Date: Tue, 22 Jul 2014 11:07:29 -0400 (EDT) From: Chuck Rolke To: users@qpid.apache.org Message-ID: <1797869882.11640265.1406041649720.JavaMail.zimbra@redhat.com> In-Reply-To: <709EF25D-CB1E-4A15-BD76-FEB25177CBE0@icloud.com> References: <1405403460678-7610336.post@n2.nabble.com> <53C4E850.5020401@redhat.com> <1405958330.7279.26.camel@gonzo> <709EF25D-CB1E-4A15-BD76-FEB25177CBE0@icloud.com> Subject: Re: How can I configure dynamic route MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Originating-IP: [10.5.82.12] X-Mailer: Zimbra 8.0.6_GA_5922 (ZimbraWebClient - FF30 (Linux)/8.0.6_GA_5922) Thread-Topic: How can I configure dynamic route Thread-Index: +H1+SZbyPHtEyCv9mncWCwqzEoPhhA== X-Virus-Checked: Checked by ClamAV on apache.org The default for --auth is 'SaslAuthenticator::available()'. On my linux sys= tems Sasl has always been available and auth has been on by default. Starting with release 0.22 (May 2013) interbroker link creation is qualifie= d by an ACL. Pseudo code is: CreateLink() { if (auth) { // Running with auth requires explicit CREATE LINK rights if (ACL CREATE LINK is allowed) { create interbroker link; } else { deny interbroker link; } } else { // Running with no auth allows any user to create links create interbroker link; } ----- Original Message ----- > From: "=E9=83=91=E5=8B=B0" > To: users@qpid.apache.org > Sent: Monday, July 21, 2014 9:41:35 PM > Subject: Re: How can I configure dynamic route >=20 > > Well, when qpidd -h, the result is different between 0.28 and 0.29 > =09qpidd 0.29: --auth yes | no (1) > =09qpidd 0.28: --auth yes | no (0) > >=20 > Does it mean 0.29 --auth no is default, 0.28 is the opposite? >=20 >=20 >=20 > =E5=9C=A8 2014=E5=B9=B47=E6=9C=8821=E6=97=A5=EF=BC=8C=E4=B8=8B=E5=8D=8811= :58=EF=BC=8CAlan Conway =E5=86=99=E9=81=93=EF=BC=9A >=20 > > On Tue, 2014-07-15 at 16:47 +0800, =E9=83=91=E5=8B=B0 wrote: > >> Hi=EF=BC=8C > >> I have fixed this problem a few minutes ago, I must start qpidd with > >> --auth no, although -auto no is default, it does seem not effect, if > >> without =E2=80=94auth no, type link list showing that B->C is not > >> connected. > >=20 > > Actually the default is auth=3Dyes, so that would explain the problem. > >=20 > >=20 > >>=20 > >>=20 > >>=20 > >> =E5=9C=A8 2014=E5=B9=B47=E6=9C=8815=E6=97=A5=EF=BC=8C=E4=B8=8B=E5=8D= =884:37=EF=BC=8CGordon Sim =E5=86=99=E9=81=93=EF=BC=9A > >>=20 > >>> On 07/15/2014 06:51 AM, zhengxie wrote: > >>>> Hi, > >>>>=20 > >>>> I have some problems about qpid dynamic route. I am using quid > >>>> 0.28 on > >>>> linux 2.6. > >>>>=20 > >>>> The problem is like this: > >>>>=20 > >>>> I want to configure a dynamic route among host A, B, C like > >>>> this : > >>>> A<=3D>B<=3D>C, I suppose message sent to A should be received in C, > >>>> however, > >>>> the result is not, I can only receive on B. However, if I open > >>>> 3 ports on > >>>> one host, each instance on each port, the result is what I > >>>> supposed to be. > >>>>=20 > >>>> This is how I configure on one host, my 3 hosts is 10.1.253.203, > >>>> 10.1.253.230, 10.1.252.165. (below is abbreviate) > >>>>=20 > >>>> qpid-route dynamic add 203 230 amq.direct > >>>> qpid-route dynamic add 230 203 amq.direct > >>>> qpid-route dynamic add 230 165 amq.direct > >>>> qpid-route dynamic add 165 230 amq.direct > >>>>=20 > >>>> This is how I test: > >>>>=20 > >>>> qpid-send -b 10.1.253.203 -a amq.direct/key230 --content-string > >>>> "Hi,key230" > >>>> --durable no > >>>>=20 > >>>> qpid-receive -b 10.1.252.165 -a amq.direct/key230 --timeout 200 > >>>> (no result) > >>>>=20 > >>>> Is there something wrong? I hunger for your answer. Thanks! > >>>=20 > >>> This is probably a stupid question, but just to confirm, you are > >>> starting qpid-receive before qpid-send right? And allowing a little > >>> time for the subscription to propagate? > >>>=20 > >>> There routes you set up above are as they should be. > >>>=20 > >>> Are there any errors in the broker logs (especially B and C? Can you > >>> receive at C if you send to B (instead of A)? > >>>=20 > >>>=20 > >>> --------------------------------------------------------------------- > >>> To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org > >>> For additional commands, e-mail: users-help@qpid.apache.org > >>>=20 > >>=20 > >>=20 > >=20 > >=20 > >=20 > >=20 > >=20 > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org > > For additional commands, e-mail: users-help@qpid.apache.org > >=20 >=20 >=20 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org For additional commands, e-mail: users-help@qpid.apache.org