Hi Andreas, looking at your selector, it reads
uniqueAppID=ttt_1425468013373341 whereas the correct syntax for comparing an attribute to a string would be uniqueAppID='ttt_1425468013373341' i.e. the value you are comparing to needs to be (single) quoted. As is it would be looking for messages where the value of the uniqueAppID attribute is the same as the value of the (presumably not present) ttt_1425468013373341 attribute I'm not familiar enough with the C++ messaging API / addressing to know the syntax for nested quotes/escaping... perhaps someone else can help there. Hope this helps, Rob On 5 March 2015 at 09:13, Andreas Welchlin <[email protected]> wrote: > Hello, > > I am using the qpid 0.28 messaging api to connect to an ActiveMQ message > broker at a third party. The protocol is AMQP 1.0. > > This post describes exactly what I need: > > http://mail-archives.apache.org/mod_mbox/qpid-users/201502.mbox/% > 3ccafitrpsud4uuqg8e6yjgfz1bnxytvophp6g43no-xbsm5w+...@mail.gmail.com%3E > > > But for some reason it does not work. When I use the filter I get no > response but also I get no error. > > > I created an address using the following properties: > > topicname; {assert: always, link:{filter:{name:jms-selector, > descriptor:'apache.org:selector-filter:string', value:'uniqueAppID=ttt_ > 1425468013373341'}}} > > > I know that the unique AppID is in the response messages of ActiveMQ > because I can see them when I use no filter. > > Is there anyone who can imagine what I am doing wrong? > > Regards, > Andreas > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
