14 lines
393 B
C#
14 lines
393 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 messageHandler);
|
|
MqSendResult Send(IMqSettings mqSettings, string[] msgList);
|
|
}
|
|
}
|