activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james.strac...@gmail.com>
Subject Re: Message selectors
Date Fri, 25 Aug 2006 16:58:06 GMT
On 8/25/06, StanleyH <stanley.k.ho@gmail.com> wrote:
>
> I have a string property typeOfMessage.
> I would like to filter messages typeOfMessage="NewMessageNotify"
> how do I create a consumer from a session with the correct selector string.

session.createConsumer(queue, "typeOfMessage = 'NewMessageNotify' ");


-- 

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

Mime
View raw message