Announcement Announcement Module
Collapse
No announcement yet.
RedisMessageListenerContainer, removeMessageListener? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • RedisMessageListenerContainer, removeMessageListener?

    Hi guys,

    Is it possible to make a unsubscribe (channel) in RedisMessageListenerContainer?

    I will put on context: my messages listeners are added dynamically,
    Code:
    public void addMessageListener(MessageListener listener, Topic topic)
    , 1 user -> 1 message listener... (under WebSockets I add message listener). When the user closes the connection, WebSockets, I need to remove the message listener associated... but I do not find the way to do under RedisMessageListenerContainer... Is it possible?

    My code is working... but I need only remove message listener associated at user

    Thanks !

  • #2
    Hi again,

    Finally, I added to Jira: https://jira.springsource.org/browse/DATAREDIS-107

    Comment


    • #3
      Hi,

      Sorry for posting so late - some other users raised this issue as well and it's on the roadmap for 1.0.3

      Comment


      • #4
        The feature has made it into master - feedback welcome!

        Comment

        Working...
        X