Kaynağa Gözat

Rename class

master
Savorboard 5 yıl önce
ebeveyn
işleme
a75401d9c6
2 değiştirilmiş dosya ile 4 ekleme ve 4 silme
  1. +1
    -1
      src/DotNetCore.CAP.RabbitMQ/CAP.RabbitMQCapOptionsExtension.cs
  2. +3
    -3
      src/DotNetCore.CAP.RabbitMQ/ITransport.RabbitMQ.cs

+ 1
- 1
src/DotNetCore.CAP.RabbitMQ/CAP.RabbitMQCapOptionsExtension.cs Dosyayı Görüntüle

@@ -23,7 +23,7 @@ namespace DotNetCore.CAP
services.AddSingleton<CapMessageQueueMakerService>();
services.Configure(_configure);
services.AddSingleton<ITransport, RabbitMQMessageSender>();
services.AddSingleton<ITransport, RabbitMQTransport>();
services.AddSingleton<IConsumerClientFactory, RabbitMQConsumerClientFactory>();
services.AddSingleton<IConnectionChannelPool, ConnectionChannelPool>();
}


src/DotNetCore.CAP.RabbitMQ/IPublishMessageSender.RabbitMQ.cs → src/DotNetCore.CAP.RabbitMQ/ITransport.RabbitMQ.cs Dosyayı Görüntüle

@@ -13,14 +13,14 @@ using RabbitMQ.Client.Framing;

namespace DotNetCore.CAP.RabbitMQ
{
internal sealed class RabbitMQMessageSender : ITransport
internal sealed class RabbitMQTransport : ITransport
{
private readonly IConnectionChannelPool _connectionChannelPool;
private readonly ILogger _logger;
private readonly string _exchange;

public RabbitMQMessageSender(
ILogger<RabbitMQMessageSender> logger,
public RabbitMQTransport(
ILogger<RabbitMQTransport> logger,
IConnectionChannelPool connectionChannelPool)
{
_logger = logger;

Yükleniyor…
İptal
Kaydet