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 052521033B for ; Mon, 3 Feb 2014 23:21:03 +0000 (UTC) Received: (qmail 47155 invoked by uid 500); 3 Feb 2014 23:21:02 -0000 Delivered-To: apmail-qpid-users-archive@qpid.apache.org Received: (qmail 47106 invoked by uid 500); 3 Feb 2014 23:21:02 -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 47095 invoked by uid 99); 3 Feb 2014 23:21:02 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Feb 2014 23:21:02 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of robbie.gemmell@gmail.com designates 209.85.214.46 as permitted sender) Received: from [209.85.214.46] (HELO mail-bk0-f46.google.com) (209.85.214.46) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Feb 2014 23:20:56 +0000 Received: by mail-bk0-f46.google.com with SMTP id r7so3036632bkg.19 for ; Mon, 03 Feb 2014 15:20:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=nTv9lqh86nSPMYvvBLAzVFYrMVthIFA1D/V1au35okI=; b=kHvA2FfhNF1g9lT4jKtrXlZTuas8apGVIcqu1BJC13qqAdA/iSpdIAhLulZLzXX7rC rECumcQgKCbTFElM3Vc7Ege8m05DEfKLcONX92eOmHMlKi61JyRGR4PBB/dESMkbEeAG 4N7qHeBkGpU2hVK8Jet7c1fhfW+dSTxeX2NOy/vR0FkOSJOKs0yqsbW4f8WAUXquWFZT FwsK32e4KXYSRtkNk3qwc2MEVHOXu5awTTfSvnFtnKyjMnroyZk8yRBLgCuZKFl+WKm8 sZwJ13VRjcxtWlijOZK8QGhoVpnHn3o/+86sD3sqIKVgC7ULmVoEZRyFyGxbTatjiJcP fBYA== MIME-Version: 1.0 X-Received: by 10.204.71.5 with SMTP id f5mr13869bkj.25.1391469635775; Mon, 03 Feb 2014 15:20:35 -0800 (PST) Received: by 10.205.14.134 with HTTP; Mon, 3 Feb 2014 15:20:35 -0800 (PST) In-Reply-To: <52EFF3B2.2020909@blueyonder.co.uk> References: <52EEB7A8.3040707@blueyonder.co.uk> <52EFB7EA.7040509@redhat.com> <52EFF3B2.2020909@blueyonder.co.uk> Date: Mon, 3 Feb 2014 23:20:35 +0000 Message-ID: Subject: Re: A write up of some AMQP 1.0 Experiments From: Robbie Gemmell To: "users@qpid.apache.org" Content-Type: multipart/alternative; boundary=047d7bae499a5b5ae704f188c531 X-Virus-Checked: Checked by ClamAV on apache.org --047d7bae499a5b5ae704f188c531 Content-Type: text/plain; charset=ISO-8859-1 So, erm, yeah...gawp...thought about book writing Fraser? ;) On 3 February 2014 19:53, Fraser Adams wrote: > On 03/02/14 15:38, Gordon Sim wrote: > >> >> Although AMQP itself does not place any restrictions on application >> property names, the selector syntax for AMQP 1.0 is that of JMS >> selectors[7], where as you noted, data-service is not a valid name. The >> extension of the selector explicitly states "JMS header names should be >> translated to amqp. where is the appropriate AMQP >> 1.0 field named in the table above, with the hyphen replaced by an >> underscore." >> >> However we could probably look at ways to (optionally?) make this more >> lenient. It certainly is also something that should be highlighted more >> prominently in documentation somehow. >> > It would be *really really good* to be able to make this more lenient > (would quoted field names be a possibility e.g. > 'data-service'='amqp-delivery')? > > I've used hyphened property names quite a lot and not being able to use > them would be a bit of a show stopper for me due to the integration issues > (I've got a lot of producers and they certainly couldn't all be changed > simultaneously) and given the apparent support at the moment for multiple > headers bindings between amq.match and a given queue I'm a bit stuck if I > want to migrate. > > > Re: "The extension of the selector explicitly states "JMS header names > should be translated to amqp. where is the > appropriate AMQP 1.0 field named in the table above, with the hyphen > replaced by an underscore." > > True, but that could be interpreted to mean the *standard* JMS header > names, and being slightly flippant it also says "The "properties" of the > JMS message are equivalent to the AMQP application-properties section" - > which simply says string. > Probably a case of different people reading things different ways, coupled with slightly ambiguous wording. My reading of that is that its saying anything that is a 'JMS Property' could be an 'AMQP application-properties' section entry, which doesnt (and cant) necessarily make the reverse true, but I agree the wording could have been clearer. The main thing to note though is that this particular filter was added in a section explicitly about JMS support, and as JMS properties aren't allowed "-" in their names this filter couldn't really say they can. What might be an option is making the filter more general than just supporting JMS semantics, or even defining another. JMS <-> AMQP mapping of property names (and values) is an interesting and annoying subject, and one that we have yet to fully cover in the JMS Mapping being worked on in the OASIS AMQP Bindings & Mapping TC. --047d7bae499a5b5ae704f188c531--