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: How to set up Filters for Composite Queue
Date Wed, 28 Feb 2007 13:51:24 GMT
On 2/28/07, LiXiao2007 <LiXiao2007@gmail.com> wrote:
>
>    I am using the latest Activemq 4.1 and would like to use a composite queue
> to forward the messages to several physical queues. From the activemq
> documentation, we can set up filters on physical queues in the configuraion
> file so only needed messages will be delivered to them. But that capability
> is only for Activemq 4.2 and after and I don't think  it has been released
> yet.

There's a 4.2-SNAPSHOT release you can try now

> My question is how to set up the filtering in Java cod?

You can't in 4.1, you need 4.2.

By starting with the BrokerService you should be able to replicate the
configuration of filtered composite queues described here in Java code
http://activemq.apache.org/virtual-destinations.html

-- 

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

Mime
View raw message