1
0
mirror of synced 2024-11-05 02:59:16 +00:00
Tapeti/Tapeti/IExchangeStrategy.cs
Mark van Renswoude 6c32665c8a [ci skip] Refactored how consume result is handled
Reimplemented the exception strategy and logging
Much XML documentation, such wow
2019-08-14 12:20:53 +02:00

18 lines
434 B
C#

using System;
namespace Tapeti
{
/// <summary>
/// Translates message classes into their target exchange.
/// </summary>
public interface IExchangeStrategy
{
/// <summary>
/// Determines the exchange belonging to the given message class.
/// </summary>
/// <param name="messageType"></param>
/// <returns></returns>
string GetExchange(Type messageType);
}
}