• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

A query about using Message Selectors option

 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,

I am having a query about Message Selectors in JMS .

As per the docs it says that :

"Sometimes you don't want message consumers to receive every message sent by a sender or publisher. Instead you want to be able to filter received messages. The JMS API provides this facility through message selectors. The message consumer specifies which messages it is interested in. The JMS provider then selectively sends just those messages to the client."

I am confused about above explanation
My question is If we specify Message Selectors option :

1. " Are these Messages aren't picked up from Queue itself " ??

please advise .

 
Praful Thakare
Ranch Hand
Posts: 642
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My question is If we specify Message Selectors option : " Are these Messages aren't picked up from Queue itself " ??


what you you exactly mean by Q itself?

They are picked from Q if the selection criteria is matched, and not picked otherwise and are available for other subscribers to pick.

-P
 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Praful , you mean to say that the Messages stay in Queue only , if the selection criteria isn't matched .
 
ramprasad madathil
Ranch Hand
Posts: 489
Eclipse IDE Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ravi Kiran Pattu wrote:Thanks Praful , you mean to say that the Messages stay in Queue only , if the selection criteria isn't matched .


That is correct.

ram.
 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hay Ram you have helped once again . Thanks .
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic