On 22 May 2015 at 13:57, Gordon Sim <g...@redhat.com> 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. >> > > 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 both double and single quoted > parts in a property value isn't possible. > > What you can do is construct the address options map manually (rather than > relying on the string parsing), which works though it is admittedly clunky. > > See attached example. > > That works perfectly, many thanks Gordon!
-- *Chris Richardson*, System Architect c...@fourc.eu *FourC AS, Vestre Rosten 81, Trekanten, NO-7075 Tiller, Norwaywww.fourc.eu <http://www.fourc.eu/>* *Follow us on LinkedIn <http://bit.ly/fourcli>, Facebook <http://bit.ly/fourcfb>, Google+ <http://bit.ly/fourcgp> and Twitter <http://bit.ly/fourctw>!*