/*
package com.mortals.coops.tools.message.service;

import org.springframework.messaging.MessageChannel;
import org.springframework.validation.annotation.Validated;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

*/
/**
 * 发送消息到消息中间件
 *
 * @author karlhoo
 *//*

@Validated
public interface IMessageService {
    */
/**
     * 向指定通道发送消息
     *
     * @param messageChannel
     * @param message
     * @return true: 成功
     *//*

    boolean sendMessage(@NotNull(message = "messageChannel不能为null") MessageChannel messageChannel, @NotBlank(message = "message不能为空") String message);

    */
/**
     * 向指定通道发送消息（带messageKey）
     *
     * @param messageChannel
     * @param message
     * @param messageKey
     * @return true: 成功
     *//*

    boolean sendMessage(@NotNull(message = "messageChannel不能为null") MessageChannel messageChannel, @NotBlank(message = "message不能为空") String message, String messageKey);
}

*/
