• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

What is it the Message selector in MDB?

 
Ranch Hand
Posts: 379
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm reading that this is part of the responsibility either of the bean's developer and the application assembler, but I can't figure out what is it.

Any help...

Marco
 
Author & Gold Digger
Posts: 7617
6
IntelliJ IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Section 22.5 of the EJB 2.0 spec states:


<!--
The message-selector element is used to specify the JMS message selector
to be used in determining which messages a message-driven bean is
to receive.
Example:
<message-selector>JMSType = �car� AND color = �blue� AND weight >
2500</message-selector>
Used in: message-driven
-->
<!ELEMENT message-selector (#PCDATA)>



You may check out the javax.jms.Message class comment for a detailed definition of message selectors
 
reply
    Bookmark Topic Watch Topic
  • New Topic