Interface MessageListener
- All Known Implementing Classes:
KeyExpirationEventMessageListener
,KeyspaceEventMessageListener
,MessageListenerAdapter
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Listener of messages published in Redis. A MessageListener can implement
SubscriptionListener
to receive
notifications for subscription states.- Author:
- Costin Leau, Christoph Strobl
- See Also:
-
Method Summary
-
Method Details
-
onMessage
Callback for processing received objects through Redis.- Parameters:
message
- message must not be null.pattern
- pattern matching the channel (if specified) - can be null.
-