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 TypeMethodDescriptiongetId()Return the id of this endpoint.voidregister(RedisMessageListenerContainer listenerContainer) 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
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
destinationand themessageListenerto use but an implementation may override any default setting that was already set.- Parameters:
listenerContainer- the listener container to configure
-