ソースを参照

Rename class

master
Savorboard 5年前
コミット
a75401d9c6
2個のファイルの変更4行の追加4行の削除
  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 ファイルの表示

@@ -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 ファイルの表示

@@ -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;

読み込み中…
キャンセル
保存