On 8/7/06, Venkatg <[EMAIL PROTECTED]> 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/

Reply via email to