On 8/7/06, Venkatg <[EMAIL PROTECTED]> wrote:

Hi,

 In my application I need to change selector for a topic based on the some
conidition. So seletor will keep changing. How to change the selector
dynamically for a consumer.
I don't see any API like "setMessageSelector" in Consumer class.

The JMS API doesn't not allow you to mutate the selector while its
created - you have to close & create new consumers.

Though ActiveMQ does allow you to modify the selector via JMX on the broker

--

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

Reply via email to