Interface PatternMessageListener<M>

Type Parameters:
M - message
All Superinterfaces:
EventListener
All Known Implementing Classes:
RedissonSessionRepository

public interface PatternMessageListener<M> extends EventListener
Listener for Redis messages published via RTopic Redisson object
Author:
Nikita Koksharov
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onMessage(CharSequence pattern, CharSequence channel, M msg)
    Invokes on every message in topic
  • Method Details

    • onMessage

      void onMessage(CharSequence pattern, CharSequence channel, M msg)
      Invokes on every message in topic
      Parameters:
      pattern - of channel name
      channel - of topic
      msg - topic message