Bug 975446

Summary: provide a way of specifying an xquery for receivers from an xml exchange (and a headers binding for headers exchange)
Product: Red Hat Enterprise MRG Reporter: Gordon Sim <gsim>
Component: qpid-cppAssignee: Gordon Sim <gsim>
Status: CLOSED CURRENTRELEASE QA Contact: Petr Matousek <pematous>
Severity: medium Docs Contact:
Priority: high    
Version: DevelopmentCC: esammons, iboverma, jross, pematous
Target Milestone: 3.0   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: qpid-cpp-0.22-5.el6, qpid-cpp-0.22-5.el5 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-01-21 12:57:17 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 974061    

Description Gordon Sim 2013-06-18 13:37:30 UTC
Description of problem:

Need a way of specifying filters for xml- and headers- exchanges.

Version-Release number of selected component (if applicable):

qpid 0.22 did not include this

To test, create a receiver (e.g. using drain or qpid-receive for:

my-xml-exchange; {link:{filter:{name:foo,descriptor:"apache.org:xquery-filter:string",value:"declare variable $colour external; $colour = 'red'"}}}

and/or

my-headers-exchange; {link:{filter:{name:bar,descriptor:"apache.org:legacy-amqp-headers-binding:map",value:{x-match:all,colour:red, shape:square}}}}

and confirm bindings exist via qpid-config and/or by sending matching messages to the exchanges.

Comment 2 Petr Matousek 2013-11-28 13:54:50 UTC
This issue has been fixed. Verified on rhel6.5 (i386, x86_64).

packages used for testing:
qpid-cpp-*-0.22-29.el6

-> VERIFIED