Re: [activemq-user] message selector?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: [activemq-user] message selector?

jstrachan
Just pass in a message selector string when you create a consumer.

MessageConsumer consumer = session.createConsumer(queue, "foo > 10")

It doesn't matter how many clients you have when using selectors -  
they have the same semantics on topics and queues.

On 10 Jun 2005, at 16:09, Łukasz Luzar wrote:

> Hello,
>
>
>
> How can I use message filtering (message selector) on a queue on  
> ActiveMQ
> where I have a couple clients? I need a simplest example :-) Thanks.
>
>
>
> Cheers,
> Łukasz Luzar
>
> --
> http://www.knajpy.krakow.pl/
> Krakowski przewodnik dla imprezowiczów
>
>
>
>


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