16 lines
385 B
C#
16 lines
385 B
C#
using PARR.BLL.Contracts.Interfaces;
|
|
using PARR.BLL.Domain.Mq;
|
|
|
|
namespace PARR.BLL.Services.Interfaces
|
|
{
|
|
public delegate void ReceivedHandler(string msg);
|
|
|
|
public interface IMqService : IDisposable
|
|
{
|
|
event ReceivedHandler? Received;
|
|
|
|
void InitConsumer(IMqSettings mqSettings);
|
|
MqSendResult Send(IMqSettings mqSettings, string[] msgList);
|
|
}
|
|
}
|