On 9/8/06, Dhawan, Vikram (LNG-DAY) <[EMAIL PROTECTED]> wrote:
Hi,

In a STOMP client what is the way to apply a message filter. In my
Consumer code I want to accept only those messages who has a particular
header value in one of the message header field.

See the stomp documentation...

http://incubator.apache.org/activemq/stomp.html

which details all the various Stomp headers you can use. In this case
add a 'selector' header (using the same syntax as JMS's SQL 92 syntax)
on the SUBSCRIBE command

--

James
-------
http://radio.weblogs.com/0112098/

Reply via email to