Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to use JMS MESSAHE 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 <jms-message-selector>< ![CDATA[JMS_BEA_SELECT('xpath','Message/SubType/text()')='Video']]<jms-message-selector> under <message-driven-bean> in ejb-jar.xml.

it showing compile error
like 'while parsing ejb-jar.xml
element type <jms-message-selector> found and must be declared.
while I am building appilcation .
I did n't get where we need to declare this element <jms-message-selector> .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.
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24212
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Welcome to JavaRanch!

This "JavaRanch" forum is for discussing this web site itself. We have other forums for other topics. I'm moving your post to a more appropriate forum. Follow the link in huge type above to find it.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic