public static Binding BindToExchange1(this Queue queue, string routingKey, string prefix = "") { var binding = new Binding() { Exchange = prefix + "e1", RoutingKey = routingKey }; queue.Bindings.Add(binding); return binding; }
public void CreateBinding(Queue queue, Binding binding) { }
public void DeleteBinding(Queue queue, Binding binding) { }
public void DeleteBinding(Queue queue, Binding binding) { Actions.Add("db:" + queue.Name + ":" + binding.Exchange + ":" + binding.RoutingKey); }