activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <>
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) <> 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...

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



View raw message