package com.duiba.tuia.youtui.web.message;

import com.duiba.tuia.youtui.web.exception.ActivityRuntimeException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.InitializingBean;


/**
 * @author lichao 2018/4/16
 */
public abstract class AbstractMessageResultHandler implements InitializingBean {

    protected final Logger logger = LoggerFactory.getLogger(this.getClass());

    /**
     * 获取消费tag
     * getListenTag:(这里用一句话描述这个方法的作用). <br/>
     *
     * @return
     * @author zf
     * @since JDK 1.6
     */
    public abstract String getListenTag();

    /**
     * 消费消息
     *
     */
    public abstract void consumer(String message);


}
