aspose file tools*
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
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "How to use JMS MESSAHE SELECTOR" Watch "How to use JMS MESSAHE SELECTOR" New topic
Author

How to use JMS MESSAHE SELECTOR

polireddy reddem
Greenhorn

Joined: Jul 19, 2007
Posts: 2
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

Joined: Jul 08, 2003
Posts: 24183
    
  34

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.


[Jess in Action][AskingGoodQuestions]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to use JMS MESSAHE SELECTOR