Files
parr_api/PARR.BLL/Services/Interfaces/IMqService.cs
2023-09-26 11:01:20 +10:00

14 lines
383 B
C#

using PARR.BLL.Contracts.Interfaces;
using PARR.BLL.Domain.Mq;
namespace PARR.BLL.Services.Interfaces
{
public delegate Task MqMessageHandlerDelegate(string msg);
public interface IMqService : IDisposable
{
bool InitConsumer(IMqSettings mqSettings, MqMessageHandlerDelegate test);
MqSendResult Send(IMqSettings mqSettings, string[] msgList);
}
}