[ 
https://issues.apache.org/jira/browse/QPID-4766?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13681464#comment-13681464
 ] 

Gordon Sim commented on QPID-4766:
----------------------------------

This can be done by specifying an xquery filter in the address string e.g. 
my-xml-exchange; {link:{filter:{value:"declare variable $colour external; 
$colour = 'red'",name:x,descriptor:"apache.org:xquery-filter:string"}}}.

Note this can be used to specify any set of filters supported by the broker in 
use. The value of the filter opption is a single map or a list of maps, each of 
which defines a filter by providing a name, a descriptor (either a numeric code 
or a symbolic value) and the value of the filter (e.g. an xquery string as 
above or a nested map of headers to match against for a headers binding filter).
                
> [AMQP 1.0] provide a way of specifying an xquery for receivers from an xml 
> exchange
> -----------------------------------------------------------------------------------
>
>                 Key: QPID-4766
>                 URL: https://issues.apache.org/jira/browse/QPID-4766
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Broker, C++ Client
>    Affects Versions: 0.22
>            Reporter: Gordon Sim
>            Assignee: Gordon Sim
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to