A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Java SE 8 for the Really Impatient
this week in the
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'");
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
subject: A basic query with respect to using Message Selectors in JMS
A query about using Message Selectors option
Message Driven Bean
how to use jms message selector
How to use JMS MESSAHE SELECTOR
JMS Queue and Topic
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014