Esempio n. 1
0
 private async Task HandleMessage(IServiceEventHandler handler, EventMessage integrationMessage, ILog log,
                                  CancellationToken cancellationToken)
 {
     await handler.Handle(JObject.Parse(integrationMessage.EventData), log, cancellationToken);
 }
Esempio n. 2
0
 async Task HandleMessage(IServiceEventHandler handler, KafkaMessage integrationMessage, CancellationToken cancellationToken)
 {
     await handler.Handle(JObject.Parse(integrationMessage.EventData), cancellationToken);
 }