activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mickhayes <mickha...@gmail.com>
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:
http://trenaman.blogspot.com/2009/01/message-selectors-and-activemq.html

All the best,
Mick Hayes

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

--
View this message in context: http://activemq.2283324.n4.nabble.com/Message-selector-filter-at-client-at-broker-tp3920736p4017200.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message