Interface RedisPubSubMessage<V>

Type Parameters:
V - the type of payload
All Known Implementing Classes:
DefaultRedisPubSubMessage

public interface RedisPubSubMessage<V>
A structure encapsulating the Redis pub/sub payload and the channel on which the message was sent. This structure is used when using ReactivePubSubCommands.subscribeAsMessages(String...) and ReactivePubSubCommands.subscribeAsMessagesToPatterns(String...)
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
  • Method Details

    • getPayload

      V getPayload()
      Returns:
      the payload.
    • getChannel

      String getChannel()
      Returns:
      the channel on which the message was sent.