activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james.strac...@gmail.com>
Subject Re: how to apply message filters in STOMP
Date Mon, 11 Sep 2006 07:19:31 GMT
On 9/8/06, Dhawan, Vikram (LNG-DAY) <vikram.dhawan@lexisnexis.com> 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/

Mime
View raw message