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 18ECAE2BF for ; Tue, 5 Feb 2013 10:47:05 +0000 (UTC) Received: (qmail 6509 invoked by uid 500); 5 Feb 2013 10:47:04 -0000 Delivered-To: apmail-qpid-users-archive@qpid.apache.org Received: (qmail 6474 invoked by uid 500); 5 Feb 2013 10:47:04 -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 6453 invoked by uid 99); 5 Feb 2013 10:47:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Feb 2013 10:47:03 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [194.107.127.21] (HELO mail.eurotux.com) (194.107.127.21) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Feb 2013 10:46:57 +0000 Received: from localhost (unknown [127.0.0.1]) by mail.eurotux.com (Postfix) with ESMTP id AA69738C0AB; Tue, 5 Feb 2013 10:47:33 +0000 (UTC) X-Virus-Scanned: amavisd-new at etaloj2.dc.eurotux.pt Received: from mail.eurotux.com ([127.0.0.1]) by localhost (etaloj2.dc.eurotux.pt [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ha32tkpOX9Bt; Tue, 5 Feb 2013 10:47:28 +0000 (WET) X-Etux-Received: from [192.168.102.146] (static-b3-114-6.telepac.pt [213.13.114.6]) (Authenticated sender: bmatos@paradigmaxis.pt) by mail.eurotux.com (Postfix) with ESMTP id 2FE3738C0B5; Tue, 5 Feb 2013 10:47:28 +0000 (WET) Message-ID: <1360061189.1810.8.camel@cratus.office.paradigmaxis.pt> Subject: Re: [c++]: Progressing AMQP 1.0 support for 0.22 release From: Bruno Matos Reply-To: bruno.matos@paradigmaxis.pt To: users@qpid.apache.org Date: Tue, 05 Feb 2013 10:46:29 +0000 In-Reply-To: <510FDDBB.40809@redhat.com> References: <510FBD74.4090803@redhat.com> <1359989991.1952.5.camel@cratus.office.paradigmaxis.pt> <510FDDBB.40809@redhat.com> Organization: ParadigmaXis, S.A. Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.6.3 (3.6.3-2.fc18) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi Gordon, On Seg, 2013-02-04 at 16:11 +0000, Gordon Sim wrote: > On 02/04/2013 02:59 PM, Bruno Matos wrote: > > Hi Gordon, > > > > * support for the assert option > > > > This support includes disable all assertions, including the existence of > > the endpoint, as we discussed some time ago? > > Good question! Though in 1.0 the situation is somewhat different from > 0-10[1], calls to createSender()/createReceiver() do still block until a > response has been received from the server allowing validation of the > target or source. > > That is certainly something that can be relaxed. However I'm not > convinced that the assert option is the right mechanism. I think the > most direct and clear way of offering users the choice there would be to > overload the methods with variants that took a sync flag (much like with > send() and acknowledge()). What do you think? Would be something like 'session.createSender(address, dontVerify)' ? > > I'd be happy to add that to my list. Do we have a JIRA for it already do > you remember? I don't remember, but I took a look at the mail thread and did a search in JIRA and I didn't find anything. > > --Gordon > > [1] In 0-10 there is a synchronous queue- or exchange- declare issued > when creating a sender or receiver. Since 0-10 only allows messages to > be sent to an exchange, messages actually intended for queues that don't > exist are simply dropped. The declare was mainly motivated by the desire > to make that situation more explicit. There is of course also a > 'resolution' of the node, i.e. a query (an exchange-bound command to be > precise) to determine whether the node is a queue or an exchange. This > stage is also synchronous but can be disabled by explicitly identifying > the type in the address. > > In 1.0 all that is needed is an attach notification by the client which > is then echoed by the broker. Messages can only be sent on an attached > link and the clients needn't actually know anything about the node type > (unless of course they want to verify certain capabilities). > Thank you, Regards. -- Bruno Matos --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org For additional commands, e-mail: users-help@qpid.apache.org