

    @Override
    public void onMessage(Message message, byte[] pattern) {
        String channel = new String(message.getChannel());
        String data = new String(message.getBody());

        log.debug("接收数据:" + message.toString());
        log.debug("订阅频道:" + channel);
        log.debug("订阅数据:" + data);
        log.debug("订阅频道pattern:" + new String(pattern));