package com.mortals.xhx.base.system.message;

import com.mortals.xhx.queue.TbQueueCallback;
import com.mortals.xhx.queue.TbQueueMsgHeaders;
import com.mortals.xhx.queue.TopicPartitionInfo;


public interface MessageService {


    /**
     * 发送消息
     *
     * @param info
     * @param header
     * @param message
     * @param callback
     */
    void send(TopicPartitionInfo info, TbQueueMsgHeaders header, String message, TbQueueCallback callback);

}