Mq Consumer

This commit is contained in:
Mikhail Trubnikov
2023-09-21 15:21:33 +10:00
parent 096a990669
commit c7acfd153d
12 changed files with 211 additions and 15 deletions

View File

@@ -3,8 +3,13 @@ using PARR.BLL.Domain.Mq;
namespace PARR.BLL.Services.Interfaces
{
public delegate void ReceivedHandler(string msg);
public interface IMqService
{
event ReceivedHandler? Received;
void InitConsumer(IMqSettings mqSettings);
MqSendResult Send(IMqSettings mqSettings, string[] msgList);
}
}