I am using the DefaultMessageListenerContainer, and want to update my selector at runtime based on some user actions.

Is there a nice way communicate my new selector criteria to the JMS Server.

It there a dirty way atleast that I can use to achieve this functionality(May be I lose some messages). Say refresh or recreate the consumers.

Thanks in advance for the help.