Win a copy of OCP Oracle Certified Professional Java SE 11 Developer Practice Tests this week in the OCP forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Ron McLeod
  • Tim Cooke
Sheriffs:
  • Devaka Cooray
  • paul wheaton
  • Mark Herschberg
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Frits Walraven
  • Jj Roberts
Bartenders:
  • Carey Brown
  • salvin francis
  • Piet Souris

How to use JMS MESSAHE SELECTOR

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
author and iconoclast
Posts: 24203
44
Mac OS X Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
She said she got a brazillian. I think owning people is wrong. That is how I learned ... tiny ad:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic