예제 #1
0
 public void Subscribe(IntegrationEvent @event, IntegrationEventHandler handler)
 {
     _messageBusHelper.InitReceiveMessages();
     _messageBusHelper.MessageReceivedHandler += handler.integrationEventHandler();
 }
예제 #2
0
 public async Task Publish(IntegrationEvent @event)
 {
     await _messageBusHelper.InitSendMessages(@event);
 }