/** * Removes a message listener from the given topics. If the container is running, the listener stops receiving * (matching) messages as soon as possible. * <p> * Note that this method obeys the Redis (p)unsubscribe semantics - meaning an empty/null collection will remove * listener from all channels. Similarly a null listener will unsubscribe all listeners from the given topic. * * @param listener message listener * @param topics message listener topics */ public void removeMessageListener(MessageListener listener, Collection<? extends Topic> topics) { removeListener(listener, topics); }
/** * Removes a message listener from the given topics. If the container is running, the listener stops receiving * (matching) messages as soon as possible. * <p> * Note that this method obeys the Redis (p)unsubscribe semantics - meaning an empty/null collection will remove * listener from all channels. Similarly a null listener will unsubscribe all listeners from the given topic. * * @param listener message listener * @param topics message listener topics */ public void removeMessageListener(MessageListener listener, Collection<? extends Topic> topics) { removeListener(listener, topics); }
/** * Removes a message listener from the given topics. If the container is running, the listener stops receiving * (matching) messages as soon as possible. * <p> * Note that this method obeys the Redis (p)unsubscribe semantics - meaning an empty/null collection will remove * listener from all channels. Similarly a null listener will unsubscribe all listeners from the given topic. * * @param listener message listener * @param topics message listener topics */ public void removeMessageListener(MessageListener listener, Collection<? extends Topic> topics) { removeListener(listener, topics); }