/
vshmidt
/
masstransit
Обзор
Документация
Войти
/
vshmidt
/
masstransit
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
develop
src/MassTransit/InMemoryTransport/Configuration/IInMemoryReceiveEndpointConfigurator.cs
26 строк
1 KB
Chris Patterson
Converted in-memory transport to use the message fabric from gRPC transport, and reworked it all. Also, RoutingKey is now more easily supported across supported transports.
20 фев 2022, 17:06
20 фев 2022, 17:06
00d6992
Код
Авторство
О чём код?
#nullable enable namespace MassTransit { using Transports.Fabric; public interface IInMemoryReceiveEndpointConfigurator : IReceiveEndpointConfigurator { /// <summary> /// Bind an exchange to the receive endpoint queue /// </summary> /// <param name="exchangeName">The exchange name (not case-sensitive)</param> /// <param name="exchangeType">The exchange type</param> /// <param name="routingKey">Only valid for direct/topic exchanges</param> void Bind(string exchangeName, ExchangeType exchangeType = ExchangeType.FanOut, string? routingKey = default); /// <summary> /// Bind an exchange to the receive endpoint queue /// </summary> /// <param name="exchangeType">The exchange type</param> /// <param name="routingKey">Only valid for direct/topic exchanges</param> void Bind<T>(ExchangeType exchangeType = ExchangeType.FanOut, string? routingKey = default) where T : class; } }