On 2/28/07, LiXiao2007 <[EMAIL PROTECTED]> 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/
