Hi
Iam having one question regarding message selector.
Question is iam using lightweight POJO class which is injected between tap
and JMSTopic as follows
eip:tap--->eip:pipeline--->JMS Durable Topic(pipeline will call POJO)
in the POJO class in the method onMessageExchange iam setting one property
on the message as follows
out.setProperty("ActorID",valueOfOneInputMessageTag);
//valueOfOneInputMessageTag will be 11111 in input message
And iam using my client program as follows
String messageSel = "ActorID = '11111'";
MessageConsumer consumer = session.createDurableSubscriber(subTopic,
"Subscriber1",messageSel,false);
But my client program is not able to read this messages
if i remove the selector i.e
MessageConsumer consumer = session.createDurableSubscriber(subTopic,
"Subscriber1); then i can read the messages
what property on the normalized message i have to set in POJO so that
message selector will work?
--
View this message in context:
http://www.nabble.com/Problem-with-message-selector-tf3882308s12049.html#a11003386
Sent from the ServiceMix - User mailing list archive at Nabble.com.