List of usage examples for org.springframework.data.redis.connection MessageListener onMessage
void onMessage(Message message, @Nullable byte[] pattern);
From source file:org.springframework.data.redis.listener.RedisMessageListenerContainer.java
/** * Execute the specified listener./*from w ww . j a v a2 s . c om*/ * * @see #handleListenerException */ protected void executeListener(MessageListener listener, Message message, byte[] pattern) { try { listener.onMessage(message, pattern); } catch (Throwable ex) { handleListenerException(ex); } }