When JMS message selector is in use, where does the filtering occur?
 Technote (FAQ)
 
Problem
Where does the message filtering actually take place when a client, such as a JMS client, subscribes to a topic and specifies a message selector?
 
Cause
Need to know where message filtering occurs.
 
Solution
Filtering typically takes place at the receiver or client side. Messages are passed to the client, that matches against the selection criteria. If there is no match, the message is returned to the queue. This is the only option for when using the "ma0c" broker.

The setMessageSelection() method can force a broker to filter messages before sending them to the client. This solution is implemented in the WebSphere® Business Integration Message Broker, the Event Broker shipped with WebSphere MQ 5.3 CSD05 and WebSphere Application Server V5.0 Embedded Messaging component after MQ 5.3 CSD05 is installed.
 
 
Cross Reference information
Segment Product Component Platform Version Edition
Application Servers Runtimes for Java Technology Java SDK
 
 


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > Java Message Service (JMS)
Operating system(s): Windows
Software version: 5.0
Software edition:
Reference #: 1160391
IBM Group: Software Group
Modified date: Feb 10, 2004