lib/bbk/amqp/consumer.rb
# Close consumer - try close amqp channel
Close consumer - try close amqp channel
Close consumer - try close amqp channel
def close
        @channel.tap do |c|
          return nil unless c
          logger.info 'Closing...'
          @channel = nil
          c.close
          logger.info 'Stopped'
        end
      end
def close @channel . tap do | c | return nil unless c logger . info 'Closing...' @channel = nil c . close logger . info 'Stopped' end end
Close consumer - try close amqp channel
Close consumer - try close amqp channel