/*
 * Decompiled with CFR 0.152.
 *
 * Could not load the following classes:
 *  org.springframework.context.annotation.Configuration
 *  org.springframework.data.redis.core.RedisTemplate
 */
package org.jeecg.common.modules.redis.client;

import org.jeecg.common.base.BaseMap;
import org.springframework.context.annotation.Configuration;
import org.springframework.data.redis.core.RedisTemplate;

import javax.annotation.Resource;

@Configuration
public class JeecgRedisClient {
    @Resource
    private RedisTemplate<String, Object> redisTemplate;

    public void sendMessage(String handlerName, BaseMap params) {
        params.put("handlerName", (Object) handlerName);
        this.redisTemplate.convertAndSend("jeecg_redis_topic", (Object) params);
    }
}