This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 3697
    
    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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JMS message selector
 
Similar Threads
A query about using Message Selectors option
JMS Application publish question
Question Message Selector Order
How to use JMS MESSAHE SELECTOR
In JMS for message selector using property is better or using header is better