You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
557 B
C#
25 lines
557 B
C#
using RabbitMQ.Client;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
using DS.Module.Core;
|
|
|
|
namespace DS.Module.MQ
|
|
{
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public interface IRabbitMQService
|
|
{
|
|
/// <summary>
|
|
/// 发送MQ报文
|
|
/// </summary>
|
|
/// <param name="request">请求参数</param>
|
|
/// <returns>true-发送成功 false-发送失败</returns>
|
|
Task<DataResult> PublishMessage(MQPublishMessageReqDto request);
|
|
}
|
|
}
|