Mark van Renswoude
6c32665c8a
Reimplemented the exception strategy and logging Much XML documentation, such wow
18 lines
423 B
C#
18 lines
423 B
C#
using System;
|
|
|
|
namespace Tapeti
|
|
{
|
|
/// <summary>
|
|
/// Translates message classes into routing keys.
|
|
/// </summary>
|
|
public interface IRoutingKeyStrategy
|
|
{
|
|
/// <summary>
|
|
/// Determines the routing key for the given message class.
|
|
/// </summary>
|
|
/// <param name="messageType"></param>
|
|
/// <returns></returns>
|
|
string GetRoutingKey(Type messageType);
|
|
}
|
|
}
|