org.springframework.data.redis.connection
Interface MessageListener

All Known Implementing Classes:
MessageListenerAdapter

public interface MessageListener

Listener of messages published in Redis.


Method Summary
 void onMessage(Message message, byte[] pattern)
          Callback for processing received objects through Redis.
 

Method Detail

onMessage

void onMessage(Message message,
               byte[] pattern)
Callback for processing received objects through Redis.

Parameters:
message - message
pattern - pattern matching the channel (if specified) - can be null