Esempio n. 1
0
 private void HandleFirstCorrelation(CorrelationLegacyTestMessage1 message)
 {
     Console.WriteLine("Received legacy correlation message 1. Correlation ID " + message.CorrelationId);
     _publisher.SendAsync(new CorrelationLegacyTestMessage2
     {
         CorrelationId = message.CorrelationId
     });
 }
Esempio n. 2
0
 private void HandleFirstCorrelation(CorrelationTestMessage1 message)
 {
     _logger.LogInformation("Received correlation message 1. Correlatio ID {correlation}", message.CorrelationId);
     _publisher.SendAsync(new CorrelationTestMessage2
     {
         CorrelationId = message.CorrelationId
     });
 }