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 980DF7E59 for ; Thu, 14 Jul 2011 16:04:38 +0000 (UTC) Received: (qmail 21148 invoked by uid 500); 14 Jul 2011 16:04:36 -0000 Delivered-To: apmail-qpid-users-archive@qpid.apache.org Received: (qmail 20920 invoked by uid 500); 14 Jul 2011 16:04:35 -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 20912 invoked by uid 99); 14 Jul 2011 16:04:35 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Jul 2011 16:04:35 +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; Thu, 14 Jul 2011 16:04:28 +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 p6EG46v1029995 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 14 Jul 2011 12:04:06 -0400 Received: from [10.3.225.105] (vpn-225-105.phx2.redhat.com [10.3.225.105]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p6EG45EB002031 for ; Thu, 14 Jul 2011 12:04:06 -0400 Message-ID: <4E1F1337.8050506@redhat.com> Date: Thu, 14 Jul 2011 17:03:03 +0100 From: Gordon Sim Organization: Red Hat UK Ltd, Registered in England and Wales under Company Registration No. 3798903, Directors: Michael Cunningham (USA), Brendan Lane (Ireland), Matt Parsons (USA), Charlie Peters (USA) User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.15) Gecko/20101027 Fedora/3.0.10-1.fc12 Lightning/1.0b1 Thunderbird/3.0.10 MIME-Version: 1.0 To: users@qpid.apache.org Subject: Re: Syntax For Creating Static Route with Headers Exchange References: <1310657858239-6583752.post@n2.nabble.com> In-Reply-To: <1310657858239-6583752.post@n2.nabble.com> 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 On 07/14/2011 04:37 PM, rfallon wrote: > > Hello, > > I am creating a route between two brokers on the headers exchange and would > like to know how you specify an appropriate binding key. > > If I were subscribing direct to a headers exchange using AMQP I might use > > .. x-bindings:[{exchange:'amq.match', arguments : {x-match:all, > data-service:lookup, data-type:xml}}] > > I have tried but alas I must concede, I cannot work out what format the > binding key should be to represent the above. Could you help me? > > > qpid-route route add DEST_BROKER SRC_BROKER amq.match @@MYBINDINGKEY@@ > > What should the value of @@MYBINDINGKEY@@ be? The binding key isn't relevant to matching/routing with the headers exchange. Looking at the qpid-route options at present, I don't believe it is possible to create a static route from a headers exchange. --------------------------------------------------------------------- Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:users-subscribe@qpid.apache.org