Interface ReactiveSubscription.Message<C,M>

Type Parameters:
C - channel representation type.
M - message representation type.
All Known Implementing Classes:
ReactiveSubscription.ChannelMessage, ReactiveSubscription.PatternMessage
Enclosing interface:
ReactiveSubscription

public static interface ReactiveSubscription.Message<C,M>
ReactiveSubscription.Message represents a Redis channel message within Redis pub/sub.
Since:
2.1
Author:
Christoph Strobl
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the channel the message published to.
    Get the actual message body.
  • Method Details

    • getChannel

      C getChannel()
      Get the channel the message published to.
      Returns:
      never null.
    • getMessage

      M getMessage()
      Get the actual message body.
      Returns:
      never null.