| Author |
A basic query with respect to using Message Selectors in JMS
|
Ravi Kiran Va
Ranch Hand
Joined: Apr 18, 2009
Posts: 2234
|
|
Hi
When i am going MEssage Selectors topic in web , it seems very confusing for me .
Please clarify my query on this .
I have written a simple JMS Application based on Weblogic as my Queue .
I have two Java Files one for Message Producer and another file acting as Message Consumer using MDB
I have a basic TextMessage with some header properties in my Producer file .
Please tell me in what file should i put MessageSelector ??.
Thanks for reading .
|
Save India From Corruption - Anna Hazare.
|
 |
ramprasad madathil
Ranch Hand
Joined: Jan 24, 2005
Posts: 489
|
|
The producer sets a property on the message (which gets added to the message header).
The consumer uses a MessageSelector to receive messages based on the property values. For example to receive a mag with the above mentioned property value, use
ram.
|
 |
 |
|
|
subject: A basic query with respect to using Message Selectors in JMS
|
|
|