jyy
2021-04-09 f96ad6ec73b3da7df5c08471f0d567d46fc767e8
zq-erp/src/main/java/com/matrix/component/rabbitmq/MqTask.java
@@ -26,7 +26,7 @@
    /**
     * 处理类在spring中的bean名称
     */
    private com.matrix.core.rabbitmq.DeliverCallbackAdapter handerAdapter;
    private DeliverCallbackAdapter handerAdapter;
    /**
     * 自动确认 默认为true
@@ -39,7 +39,7 @@
        this.queue = queue;
        this.routingKey = routingKey;
        if(hander!=null){
            this.handerAdapter = new com.matrix.core.rabbitmq.DeliverCallbackAdapter(hander,routingKey);
            this.handerAdapter = new DeliverCallbackAdapter(hander,routingKey);
        }
    }
@@ -48,7 +48,7 @@
        this.queue = queue;
        this.routingKey = routingKey;
        if(hander!=null){
            this.handerAdapter = new com.matrix.core.rabbitmq.DeliverCallbackAdapter(hander,routingKey);
            this.handerAdapter = new DeliverCallbackAdapter(hander,routingKey);
        }
        this.autoAck=autoAck;
@@ -95,7 +95,7 @@
        return handerAdapter;
    }
    public void setHander(com.matrix.core.rabbitmq.DeliverCallbackAdapter hander) {
    public void setHander(DeliverCallbackAdapter hander) {
        this.handerAdapter = hander;
    }
}