Skip to content

Commit

Permalink
Поправил баг с serializer = null
Browse files Browse the repository at this point in the history
  • Loading branch information
Aidar.Shaikhiev committed Jan 31, 2022
1 parent b17f41d commit 1f510be
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ATI.Services.RabbitMQ/Producers/BaseRmqProducer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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();


Expand Down
2 changes: 1 addition & 1 deletion ATI.Services.RabbitMQ/Producers/RmqProducer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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; }
Expand Down

0 comments on commit 1f510be

Please sign in to comment.