File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
EJB and other Java EE Technologies
A basic query with respect to using Message Selectors in JMS
Ravi Kiran Va
Joined: Apr 18, 2009
Jan 19, 2010 10:26:56
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
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.
Joined: Jan 24, 2005
Jan 21, 2010 03:54:27
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
receiver = qsession.createReceiver(queue, "someProp = 'someValue'");
subject: A basic query with respect to using Message Selectors in JMS
Message Driven Bean
How to use JMS MESSAHE SELECTOR
JMS Queue and Topic
how to use jms message selector
A query about using Message Selectors option
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013