Spring Data Key-Value

org.springframework.data.keyvalue.redis.connection
Interface MessageListener

All Known Implementing Classes:
MessageListenerAdapter

public interface MessageListener

Listener of messages published in Redis.

Author:
Costin Leau

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

Spring Data Key-Value

Copyright © 2010-2011 SpringSource. All Rights Reserved.