|
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 |
|
|
|
|
|
|
|