public static string GetRouteName <T>(this IQueueTopic <T> topic, string route = default) where T : IQueueMessage { return(typeof(T).GetRouteName(route)); }
public static string GetExchangeName <T>(this IQueueTopic <T> topic) where T : IQueueMessage { return(typeof(T).GetExchangeName()); }
public static string GetQueueName <T>(this IQueueTopic <T> topic, string identifier = default) where T : IQueueMessage { return(typeof(T).GetQueueName(identifier)); }
protected QueueConsumer(IQueueTopic <T> queue) { this.Queue = queue; }