зеркало из https://github.com/SteeltoeOSS/Samples.git
Update Messaging/src/RabbitMQWeb/Services/RabbitListener.cs
Co-authored-by: Ken Swan <49496839+kenswan@users.noreply.github.com>
This commit is contained in:
Родитель
d7ac1aabf0
Коммит
9251ffbede
|
@ -14,7 +14,7 @@ namespace RabbitMQWeb.Services
|
|||
}
|
||||
|
||||
[RabbitListener(Queues.InferredRabbitQueue)]
|
||||
public void ListenForAFoo(RabbitMessage message)
|
||||
public void ListenForMessage(RabbitMessage message)
|
||||
{
|
||||
_logger.LogInformation("Got a RabbitMessage: {Message}", message);
|
||||
}
|
||||
|
@ -25,4 +25,4 @@ namespace RabbitMQWeb.Services
|
|||
_logger.LogInformation("Got a LongEaredRabbitMessage: {Message}", message);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче