Skip to content

Instantly share code, notes, and snippets.

@gdyrrahitis

gdyrrahitis/LogProducer.cs Secret

Last active May 23, 2020
Embed
What would you like to do?
public class LogProducer : ProducerBase<LogIntegrationEvent>
{
public LogProducer(
ConnectionFactory connectionFactory,
ILogger<RabbitMqClientBase> logger,
ILogger<ProducerBase<LogIntegrationEvent>> producerBaseLogger) :
base(connectionFactory, logger, producerBaseLogger)
{
}
protected override string ExchangeName => "CUSTOM_HOST.LoggerExchange";
protected override string RoutingKeyName => "log.message";
protected override string AppId => "LogProducer";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.