Mq Consumer
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user