Re: Property names in subscription selectors

2015-05-22 Thread Gordon Sim
On 05/22/2015 05:09 PM, Andrew Stitcher wrote: The selector syntax as recognised by the broker requires the property identifier to be enclosed in double quotes, but the value to be enclosed in single quotes. However the qpid::messaging client's address parsing does not handle any escaping of q

Re: Property names in subscription selectors

2015-05-22 Thread Andrew Stitcher
>The selector syntax as recognised by the broker requires the property > identifier to be enclosed in double quotes, but the value to be > enclosed > in single quotes. > > However the qpid::messaging client's address parsing does not handle > any > escaping of quotes, so that combination of bo

Re: Property names in subscription selectors

2015-05-22 Thread Chris Richardson
On 22 May 2015 at 13:57, Gordon Sim wrote: > On 05/22/2015 12:38 PM, Chris Richardson wrote: > >> No-go unfortunately: >> Error: Unmatched '{'!, character 28 of my-queue; >> {link:{selector:""my-property"='property-value'"}} >> >> I've tried single quotes as well but that doesn't seem to help.

Re: Property names in subscription selectors

2015-05-22 Thread Gordon Sim
On 05/22/2015 12:38 PM, Chris Richardson wrote: No-go unfortunately: Error: Unmatched '{'!, character 28 of my-queue; {link:{selector:""my-property"='property-value'"}} I've tried single quotes as well but that doesn't seem to help. The selector syntax as recognised by the broker requires th

Re: Property names in subscription selectors

2015-05-22 Thread Chris Richardson
No-go unfortunately: Error: Unmatched '{'!, character 28 of my-queue; {link:{selector:""my-property"='property-value'"}} I've tried single quotes as well but that doesn't seem to help. On 22 May 2015 at 12:31, Robbie Gemmell wrote: > I haven't tried this but one trick I know is used elsewhere

Re: Property names in subscription selectors

2015-05-22 Thread Robbie Gemmell
I haven't tried this but one trick I know is used elsewhere and might be worth a shot is to use [double] quotes around the property name as well, i.e pretending it is a literal like for the values. On 22 May 2015 at 12:13, Chris Richardson wrote: > Hi, > > I'm trying to use a selector based on th

Property names in subscription selectors

2015-05-22 Thread Chris Richardson
Hi, I'm trying to use a selector based on the information in this post: http://grokbase.com/p/qpid/users/136t684en1/message-selection-filtering-using-c-client-with-the-java-broker except I'm using the C++ broker (and client) 0.32. The selector seems to work with the following syntax: "my-queue;