This week's book giveaway is in the JDBC forum.
We're giving away four copies of Make it so: Java DB Connections & Transactions and have Marcho Behler on-line!
See this thread for details.
The moose likes Other JSE/JEE APIs and the fly likes How to use JMS MESSAHE SELECTOR Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "How to use JMS MESSAHE SELECTOR" Watch "How to use JMS MESSAHE SELECTOR" New topic


polireddy reddem

Joined: Jul 19, 2007
Posts: 2
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's urgent to me.
Ernest Friedman-Hill
author and iconoclast

Joined: Jul 08, 2003
Posts: 24195


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.

[Jess in Action][AskingGoodQuestions]
I agree. Here's the link:
subject: How to use JMS MESSAHE SELECTOR
It's not a secret anymore!