class LavinMQ::HeadersExchange
 
  - LavinMQ::HeadersExchange
 - LavinMQ::Exchange
 - Reference
 - Object
 
Defined in:
lavinmq/exchange/headers.crConstructors
Instance Method Summary
- #bind(destination : Queue, routing_key, headers)
 - #bind(destination : Exchange, routing_key, headers)
 - #do_exchange_matches(routing_key, headers = nil, & : Exchange -> )
 - #do_queue_matches(routing_key, headers = nil, & : Queue -> )
 - #type : String
 - #unbind(destination : Queue, routing_key, headers)
 - #unbind(destination : Exchange, routing_key, headers)
 
Instance methods inherited from class LavinMQ::Exchange
  
  
    
      alternate_exchange : String?
    alternate_exchange, 
    
  
    
      apply_policy(policy : Policy | Nil, operator_policy : OperatorPolicy | Nil)
    apply_policy, 
    
  
    
      arguments : AMQ::Protocol::Table
    arguments, 
    
  
    
      auto_delete? : Bool
    auto_delete?, 
    
  
    
      bind(destination : Queue, routing_key : String, headers : AMQP::Table | Nil)bind(destination : Exchange, routing_key : String, headers : AMQP::Table | Nil) bind, binding_details(key, destination) binding_details, bindings_details bindings_details, clear_policy clear_policy, current_stats_details current_stats_details, delayed? : Bool delayed?, details_tuple details_tuple, do_exchange_matches(routing_key : String, headers : AMQP::Table | Nil, & : Exchange -> _) do_exchange_matches, do_queue_matches(routing_key : String, headers : AMQP::Table | Nil, & : Queue -> _) do_queue_matches, durable? : Bool durable?, exchange_bindings : Hash({String, AMQ::Protocol::Table?}, Set(LavinMQ::Exchange)) exchange_bindings, exchange_matches(routing_key : String, headers = nil, &blk : Exchange -> _) exchange_matches, handle_arguments handle_arguments, in_use? in_use?, internal? : Bool internal?, match?(type, durable, auto_delete, internal, arguments)
match?(frame : AMQP::Frame) match?, name : String name, operator_policy : OperatorPolicy | Nil operator_policy, policy : Policy | Nil policy, publish_in_count : UInt64 publish_in_count, publish_in_count=(publish_in_count : UInt64) publish_in_count=, publish_out_count : UInt64 publish_out_count, publish_out_count=(publish_out_count : UInt64) publish_out_count=, queue_bindings : Hash({String, AMQ::Protocol::Table?}, Set(LavinMQ::Queue)) queue_bindings, queue_matches(routing_key : String, headers = nil, &blk : Queue -> _) queue_matches, stats_details stats_details, to_json(json : JSON::Builder) to_json, type : String type, unbind(destination : Queue, routing_key : String, headers : AMQP::Table | Nil)
unbind(destination : Exchange, routing_key : String, headers : AMQP::Table | Nil) unbind, unroutable_count : UInt64 unroutable_count, unroutable_count=(unroutable_count : UInt64) unroutable_count=, update_rates : Nil update_rates, vhost : LavinMQ::VHost vhost
Constructor methods inherited from class LavinMQ::Exchange
  
  
    
      new(vhost : VHost, name : String, durable : Bool = false, auto_delete : Bool = false, internal : Bool = false, arguments : AMQ::Protocol::Table = AMQP::Table.new)
    new
    
  
    
    
  
    
  Instance methods inherited from module Observable
  
  
    
      notify_observers(event : Symbol, data : Object | Nil = nil)
    notify_observers, 
    
  
    
      register_observer(observer : Observer)
    register_observer, 
    
  
    
      unregister_observer(observer : Observer)
    unregister_observer
    
  
    
    
    
  
    
  Instance methods inherited from module LavinMQ::SortableJSON
  
  
    
      details_tuple
    details_tuple, 
    
  
    
      to_json(json : JSON::Builder)
    to_json
    
  
    
    
    
  
    
    
    
    
  Macros inherited from module LavinMQ::Stats
  
  
    
      rate_stats(stats_keys, log_keys = [] of ::String)
    rate_stats
    
  
  
    
  Instance methods inherited from module LavinMQ::PolicyTarget
  
  
    
      apply_policy(policy : Policy | Nil, operator_policy : OperatorPolicy | Nil)
    apply_policy, 
    
  
    
      clear_policy
    clear_policy, 
    
  
    
      operator_policy : OperatorPolicy | Nil
    operator_policy, 
    
  
    
      policy : Policy | Nil
    policy
    
  
    
    
    
  
    
    
    
    
  
    
    
    
    
  
Constructor Detail
        
        def self.new(vhost : VHost, name : String, durable = false, auto_delete = false, internal = false, arguments = AMQP::Table.new)
        #