public async Task Consume(ConsumeContext <GetHarvestLogInfo> context) { using (LogContext.PushProperty(nameof(context.ConversationId), context.ConversationId)) { Log.Information("Received {CommandName} command with conversationId {ConversationId} from the bus", nameof(GetHarvestLogInfo), context.ConversationId); var message = context.Message; var result = harvestManager.GetLogInfo(message.Request); await context.RespondAsync <GetHarvestLogInfoResult>(new { Result = result }); } }