• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

A basic query with respect to using Message Selectors in JMS

 
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 .
 
Ranch Hand
Posts: 489
Eclipse IDE Tomcat Server Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
reply
    Bookmark Topic Watch Topic
  • New Topic