• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to use jms message selector

 
polireddy reddem
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have few doubts on using of jms message selectors on xml messages posted to JMS Queue/Topic.
My requirement is based on the xml content posted to queue/topic , MDB has to receive that message.

When i add element < ![CDATA[JMS_BEA_SELECT('xpath','Message/SubType/text()')='Video']] under in ejb-jar.xml.

it showing compile error
like 'while parsing ejb-jar.xml
element type found and must be declared.
while I am building appilcation .
I did n't get where we need to declare this element .I am using ejb_jar_2.0.dtd.
How to avoid this compile error?
How can i do filtering of JMS messages like mentioned above.?
Please help me to sorted out this problem..it's urgent to me.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic