*
The moose likes EJB and other Java EE Technologies and the fly likes JMS message selector Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "JMS message selector" Watch "JMS message selector" New topic
Author

JMS message selector

Anuj Singhal
Greenhorn

Joined: Oct 17, 2003
Posts: 23
My application has JMS selector similiar to one mentioned below:
NumberOfOrders = 1

I understand that a message will be picked up by the JMS client, if property value of "NumberOfOrders" in JMS message is set to 1.
But, i am not sure what will happen if "NumberOfOrders" property is not added to the JMS message.
Probably, selector condition will resolve to "null > 1" in above case and message will not be picked up by JMS client.
Has someone tested this before?
Scott Selikoff
Saloon Keeper

Joined: Oct 23, 2005
Posts: 3704
    
    5

Can you go into more detail about what you are doing? I have no idea what example you're referring to.


My Blog: Down Home Country Coding with Scott Selikoff
 
jQuery in Action, 2nd edition
 
subject: JMS message selector