Reword long messages per new message classes

This commit is contained in:
Chris Cheetham 2021-06-25 08:01:52 -04:00
Родитель 30c2e26860
Коммит f95b209fcd
1 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -14,15 +14,15 @@ namespace RabbitMQWeb.Services
}
[RabbitListener(Queues.InferredRabbitQueue)]
public void ListenForAFoo(RabbitMessage rabbitMessage)
public void ListenForAFoo(RabbitMessage message)
{
_logger.LogInformation("Expected a Foo, got a {Message}", rabbitMessage);
_logger.LogInformation("Got a RabbitMessage: {Message}", message);
}
[RabbitListener(Queues.InferredLongEaredRabbitQueue)]
public void ListenForAFoo(LongEaredRabbitMessage longEaredRabbitMessage)
public void ListenForAFoo(LongEaredRabbitMessage message)
{
_logger.LogInformation("Expected a Bar, got a {Message}", longEaredRabbitMessage);
_logger.LogInformation("Got a LongEaredRabbitMessage: {Message}", message);
}
}
}