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 B316E113F0 for ; Tue, 5 Aug 2014 20:23:21 +0000 (UTC) Received: (qmail 85516 invoked by uid 500); 5 Aug 2014 20:23:21 -0000 Delivered-To: apmail-qpid-users-archive@qpid.apache.org Received: (qmail 85485 invoked by uid 500); 5 Aug 2014 20:23:21 -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 85473 invoked by uid 99); 5 Aug 2014 20:23:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Aug 2014 20:23:21 +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 (athena.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; Tue, 05 Aug 2014 20:23:15 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s75KMruF022800 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Tue, 5 Aug 2014 16:22:53 -0400 Received: from [10.36.116.61] (ovpn-116-61.ams2.redhat.com [10.36.116.61]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s75KMqsS006086 for ; Tue, 5 Aug 2014 16:22:53 -0400 Message-ID: <53E13D25.7080506@redhat.com> Date: Tue, 05 Aug 2014 21:23:01 +0100 From: Gordon Sim Organization: Red Hat UK Ltd, Registered in England and Wales under Company Registration No. 3798903, Directors: Michael Cunningham (USA), Matt Parsons (USA), Charlie Peters (USA), Michael O'Neill (Ireland) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130625 Thunderbird/17.0.7 MIME-Version: 1.0 To: users@qpid.apache.org Subject: Re: couple of proton Messenger questions. References: <53DE37DE.3000103@blueyonder.co.uk> In-Reply-To: <53DE37DE.3000103@blueyonder.co.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 X-Virus-Checked: Checked by ClamAV on apache.org I am no expert on the state of Messenger and have been wrong before, but... On 08/03/2014 02:23 PM, Fraser Adams wrote: > It seems like the SASL options are currently a non-starter and that > Messenger will use anonymous or PLAIN if user:pass is set, but am I > correct that there's no support for other mechanisms? Correct, there is not. > In qpid-config I came across conn_options['client_properties'] = > {'qpid.ha-admin' : 1} which suggests an ha-admin property is able to be > used, but TBH a bit of grepping around the qpid Messaging code left me a > bit stumped as to how that property actually gets passed around In 0-10 it is the client_properties field on 'connection.start-ok'. In 1.0 it would use the properties field on the 'open' for the connection. > I found > src/qpid/ha/ConnectionObserver.cpp:const std::string > ConnectionObserver::ADMIN_TAG="qpid.ha-admin"; > But how things get passed from connection options to the > ConnectionObserver I have no clue, so rather than trying to reverse > engineer it I figured I'd simply ask whether there is a mechanism to > make use of that mechanism in proton Messenger vice qpid::Messaging, and > if so what's the magic incantation??? I am not aware of any mechanism to control the connection options sent in an 'open' frame by messenger. (In qpid::messaging it is done through a 'client_properties' connection option, as with python over 0-10). > Next am I correct that there is still no mechanism to specify "fancy" > link options in pI can subscribe to receive messages from a simple Node > address but say I want to subscribe to a particular subject say > amq.topic/UK.WEATHER and the like, that's pretty easy via an Address > String in qpid::Messaging or JMS but it still doesn't seem possible with > Messenger? I believe there is still no way to control the attach in any detail. > Finally, is it possible to un-subscribe an address? Say I've got code > that does > subscription = messenger.subscribe('amqp://0.0.0.0:5672/#'); I don't believe there is as yet, no. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org For additional commands, e-mail: users-help@qpid.apache.org