activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mickhayes <>
Subject Re: Message selector filter at client? at broker?
Date Tue, 08 Nov 2011 19:31:50 GMT
Broker does the work. This is standard in JMS 1.1.
If you want to see exactly what is happening, use snoop or wireshark between
client and broker.

>From the JMS 1.1 standard, chapter 3.8 "Message Selection":
"JMS provides a facility that allows clients to delegate message selection
to their JMS Provider"

From: 3.8.1 "Message Selector": A JMS message selector allows a client to
specify, by message header, the messages it's interested in. *Only messages
whose headers and properties match the selector are delivered*."

We are then sent to look at 5.8 "QueueReceiver"for the meaning of "not
delivered"... unselected messages remain on the queue, following the
principle that each Q message is consumed exactly once.

There is an article in this area (+ comments) here:

All the best,
Mick Hayes

Michael Hayes B.Sc. (NUI), M.Sc. (DCU), SCSA SCNA 

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message