Interface RedisListenerEndpoint

All Known Implementing Classes:
AbstractRedisListenerEndpoint, MethodRedisListenerEndpoint, SimpleRedisListenerEndpoint

public interface RedisListenerEndpoint
Model for a Redis listener endpoint.
Author:
Ilyass Bougati
  • Method Summary

    Modifier and Type
    Method
    Description
    Return the id of this endpoint.
    void
    Set up the specified message listener container with the model defined by this endpoint.
  • Method Details

    • getId

      String getId()
      Return the id of this endpoint.
    • register

      void register(RedisMessageListenerContainer listenerContainer)
      Set up the specified message listener container with the model defined by this endpoint.

      This endpoint must provide the requested missing option(s) of the specified container to make it usable. Usually, this is about setting the destination and the messageListener to use but an implementation may override any default setting that was already set.

      Parameters:
      listenerContainer - the listener container to configure