Method: Bunny::Exchange#recover_from_network_failure

Defined in:
lib/bunny/exchange.rb

#recover_from_network_failureObject



224
225
226
227
228
229
230
# File 'lib/bunny/exchange.rb', line 224

def recover_from_network_failure
  declare! unless @options[:no_declare] ||predefined?

  @bindings.each do |b|
    bind(b[:source], b[:opts])
  end
end