Is There a Way to Dynamically Change the Selector of a Topic Consumer?
No. The JMS specification does not define any methods for changing the selector of an existing subscriber. A selector can be provided only in the TopicSubscriber constructor. Changing the message selector can be simulated by first removing the existing consumer and then creating it with a different selector.
Related Questions
- Consumer Health Information Centre is now closed Surf Your Way to Health Information Health Extension Health Organizations By Topic Find a Doctor?
- Is there a way to dynamically change an existing selector for a TopicConsumer using the setMessageSelecter(String)?
- Is There a Way to Dynamically Change the Selector of a Topic Consumer?