public ExchangeBindingEntity(long id, ExchangeEntity source, ExchangeEntity destination, string routingKey, IDictionary <string, object> arguments) { Id = id; RoutingKey = routingKey; Arguments = arguments ?? new Dictionary <string, object>(); _source = source; _destination = destination; }
public QueueBindingEntity(long id, ExchangeEntity exchange, QueueEntity queue, string routingKey, IDictionary <string, object> arguments) { Id = id; RoutingKey = routingKey; Arguments = arguments ?? new Dictionary <string, object>(); _exchange = exchange; _queue = queue; }