>Can you answer my question from before: Are you actually looking for
>your queue and address names to differ?
No, I want to Send data to durable Queue with Filters.
Publisher code
char *FilterValue = 8;
Variant::Map content;
content["myProperty"] = atoi(FilterValue );
request.setProperties(content);
std::string data = "test";
request.setContentBytes(data);
sender.send(request);
At receiver end tried with the below address
sprintf(cAddress, "queue; {link:{filter:{name:jms-selector,
descriptor:'apache.org:selector-filter:string', value : 'myProperty=%s'}}}",
filterID);
Receiver receiver = session.createReceiver(cAddress);
If the values matches, it consume the data else not.
not facing any multiple consumer issue But...
above example is working for integer value, not working with string value.
Is there any modification I need to have string as a filter value ?
and can we have multiple filter value on single consumer?
Thanks,
Mohan
--
Sent from: http://qpid.2158936.n2.nabble.com/Apache-Qpid-users-f2158936.html
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]