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 47FD7D404 for ; Mon, 11 Mar 2013 11:53:18 +0000 (UTC) Received: (qmail 90511 invoked by uid 500); 11 Mar 2013 11:53:17 -0000 Delivered-To: apmail-qpid-users-archive@qpid.apache.org Received: (qmail 90325 invoked by uid 500); 11 Mar 2013 11:53:16 -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 90084 invoked by uid 99); 11 Mar 2013 11:53:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Mar 2013 11:53:11 +0000 X-ASF-Spam-Status: No, hits=-5.0 required=5.0 tests=RCVD_IN_DNSWL_HI,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of gsim@redhat.com designates 209.132.183.28 as permitted sender) Received: from [209.132.183.28] (HELO mx1.redhat.com) (209.132.183.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Mar 2013 11:53:04 +0000 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r2BBqfau007123 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 11 Mar 2013 07:52:41 -0400 Received: from [10.36.116.37] (ovpn-116-37.ams2.redhat.com [10.36.116.37]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id r2BBqeg0002252 for ; Mon, 11 Mar 2013 07:52:41 -0400 Message-ID: <513DC685.4030005@redhat.com> Date: Mon, 11 Mar 2013 11:56:53 +0000 From: Gordon Sim Organization: Red Hat UK Ltd, Registered in England and Wales under Company Registration No. 3798903, Directors: Michael Cunningham (USA), Mark Hegarty (Ireland), Matt Parsons (USA), Charlie Peters (USA) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2 MIME-Version: 1.0 To: users@qpid.apache.org Subject: Re: [c++]: Progressing AMQP 1.0 support for 0.22 release References: <510FBD74.4090803@redhat.com> <00BCD2BEF4977149A7C7303B4BAEBBE63636CD@ORD2MBX02C.mex05.mlsrvr.com> <510FE841.1010408@redhat.com> <00BCD2BEF4977149A7C7303B4BAEBBE6363944@ORD2MBX02C.mex05.mlsrvr.com> <510FFC95.5010907@redhat.com> <51139F67.9070608@redhat.com> <511E7CFA.3010905@redhat.com> <1361818642.2533.5.camel@cratus.office.paradigmaxis.pt> In-Reply-To: <1361818642.2533.5.camel@cratus.office.paradigmaxis.pt> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.67 on 10.5.11.11 X-Virus-Checked: Checked by ClamAV on apache.org On 02/25/2013 06:57 PM, Bruno Matos wrote: > On Sex, 2013-02-15 at 18:22 +0000, Gordon Sim wrote: >> On 02/07/2013 12:34 PM, Gordon Sim wrote: >>> On 02/04/2013 06:23 PM, Gordon Sim wrote: >>>> On 02/04/2013 04:59 PM, Steve Huston wrote: >>>>> Is there a chance you'll be able to make progress on this area of Qpid >>>>> sufficiently to raise the topics at the Feb 18 AMQP F2F? Are you >>>>> planning to go? >>>> >>>> To get it into 0.22 it really needs to be mostly done by the alpha in >>>> mid-feb, so yes I would hope to have something usable in svn by that >>>> time. >>>> >>>> I am not able to attend the F2F sadly, but do plan on putting my >>>> thoughts in a mail to the TC list (I'll post it here as well). >>> >>> As promised, I've attached some of my thoughts on addressing. I'm >>> posting these to the OASIS AMQP TC list as well. >>> >>> Comments, corrections, criticisms are all welcome! >> >> I have an initial patch that adds the ability to have qpidd initiate >> AMQP 1.0 connections (and links) to some external entity (e.g. another >> 1.0 supporting broker). >> >> It isn't quite ready to be committed yet I'm afraid, but for those >> interested more detail can be found at >> https://reviews.apache.org/r/9469/ along with the current patch. >> > > I have compiled qpidd with the patch, how can I "Interconnect" two > brokers now? [Apologies for the much delayed response]. You first need to create a 'domain' on the broker that will initiate the connection to the other. This essentially defines how to connect. This is done through the 'create' QMF 'method' on the broker, using 'domain' as the type. The valid properties are 'url, 'username', 'password', 'sasl_mechanisms (and less frequently needed min_ssf. max_ssf, sasl_service). At present you can do this either via qpid-tool or using the qpid-ctrl test utility[1]. E.g. qpid-ctrl create type=domain name=my-domain properties="{'url':'broker2.acme.org','mechanisms':'NONE'}" Next, you can statically set up incoming or outgoing links from the first broker to this 'domain'. You do that by again using the QMF 'create' method, but this type using a type of either 'incoming' or 'outgoing', depending on the desired direction of message flow. The valid properties for both types are 'domain', 'source' and 'target' E.g. qpid-ctrl create type=outgoing name=my-outgoing-link properties="{'domain':'my-domain','source':'amq.topic','target':'amq.topic'}" There will be better tooling available for this eventually. Alternatively, you can also simply relay through the broker to a defined domain without any statically setup links. To do this you simply append the domain name to the node you wish to send to. E.g. creating a sender on a session with the first broker to e.g. my-queue@my-domain, will result in the messages being relayed to my-queue on the second broker. I.e. you can access nodes actually implemented in some other AMQP 1.0 container (whether another qpidd, a different 1.0 capable broker or even a proton messenger service) to be accessed as if they were in the one broker the client is connected to. [1] https://svn.apache.org/repos/asf/qpid/trunk/qpid/cpp/src/tests/qpid-ctrl --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org For additional commands, e-mail: users-help@qpid.apache.org