Results 1 to 4 of 4

Thread: RedisMessageListenerContainer, removeMessageListener?

  1. #1
    Join Date
    Jan 2012
    Posts
    8

    Question 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. #2
    Join Date
    Jan 2012
    Posts
    8

    Default

    Hi again,

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

  3. #3
    Join Date
    Jan 2005
    Location
    Bucharest, Romania
    Posts
    5,403

    Default

    Hi,

    Sorry for posting so late - some other users raised this issue as well and it's on the roadmap for 1.0.3
    Costin Leau
    SpringSource - http://www.SpringSource.com- Spring Training, Consulting, and Support - "From the Source"
    http://twitter.com/costinl
    Please use [ c o d e ] [ / c o d e ] tags

  4. #4
    Join Date
    Jan 2005
    Location
    Bucharest, Romania
    Posts
    5,403

    Default

    The feature has made it into master - feedback welcome!
    Costin Leau
    SpringSource - http://www.SpringSource.com- Spring Training, Consulting, and Support - "From the Source"
    http://twitter.com/costinl
    Please use [ c o d e ] [ / c o d e ] tags

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •