public static IFallbackStrategy New(IBroker broker, Queue queue, Func <String, String> exchangeNameBuilder) { return(new DeadLetterStrategy(broker.DeclareDurableDirectExchange(exchangeNameBuilder(queue.Name)))); }
private static Exchange DeclareDurableExchange(IBroker broker) { return broker.DeclareDurableDirectExchange("test_benchmarks_durable_exchange"); }
private static Exchange DeclareDurableExchange(IBroker broker) { return(broker.DeclareDurableDirectExchange("test_benchmarks_durable_exchange")); }
public static IFallbackStrategy New(IBroker broker, Queue queue, Func<String, String> exchangeNameBuilder) { return new DeadLetterStrategy(broker.DeclareDurableDirectExchange(exchangeNameBuilder(queue.Name))); }