diff --git a/ATI.Services.RabbitMQ/Producers/BaseRmqProducer.cs b/ATI.Services.RabbitMQ/Producers/BaseRmqProducer.cs index b6daefc..a43bc68 100644 --- a/ATI.Services.RabbitMQ/Producers/BaseRmqProducer.cs +++ b/ATI.Services.RabbitMQ/Producers/BaseRmqProducer.cs @@ -24,7 +24,7 @@ private readonly private readonly ILogger _logger; protected abstract string DefaultRoutingKey { get; } private bool _initialized; - private ISerializer Serializer { get; } + protected abstract ISerializer Serializer { get; } private readonly object _lock = new object(); diff --git a/ATI.Services.RabbitMQ/Producers/RmqProducer.cs b/ATI.Services.RabbitMQ/Producers/RmqProducer.cs index cca404b..4b45123 100644 --- a/ATI.Services.RabbitMQ/Producers/RmqProducer.cs +++ b/ATI.Services.RabbitMQ/Producers/RmqProducer.cs @@ -21,7 +21,7 @@ public RmqProducer( } protected override ExchangeType ExchangeType { get; } - private ISerializer Serializer { get; } + protected override ISerializer Serializer { get; } protected override string ExchangeName { get; } protected override string DefaultRoutingKey { get; } protected override bool DurableExchange { get; }