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