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: Changing Message Selector
Date Mon, 07 Aug 2006 11:14:50 GMT
On 8/7/06, Venkatg <venkatabbu@yahoo.com> wrote:
>
> Thanks James,
>
>  How to change the selector using ActiveMQ APIs.

You can't. You can only do it via JMX on the broker

http://incubator.apache.org/activemq/maven/activemq-core/apidocs/org/apache/activemq/broker/jmx/SubscriptionViewMBean.html#setSelector(java.lang.String)

the other option is to send all messages to the consumer and perform
your own dynamic filtering inside your MessageListener

-- 

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

Mime
View raw message