• 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
  • Ron McLeod
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Rob Spoor
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Carey Brown
Bartenders:

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