lib/intellimesh/adapters/amqp/sneakers_extensions.rb
# Open a channel on our existing connection to perform messaging.
#
# Will yield the new channel, confirm any messages sent, and
# then close the channel.
# @yield [Bunny::Channel]
Open a channel on our existing connection to perform messaging.
Will yield the new channel, confirm any messages sent, and
then close the channel.
Open a channel on our existing connection to perform messaging . Will yield the new channel confirm any messages sent and then close the channel .
def with_confirmed_channel
            chan = connection.create_channel
            begin
              chan.confirm_select
              yield chan
              chan.wait_for_confirms
            ensure
              chan.close
            end
          end
def with_confirmed_channel chan = connection . create_channel begin chan . confirm_select yield chan chan . wait_for_confirms ensure chan . close end end
Open a channel on our existing connection to perform messaging.
Open a channel on our existing connection to perform messaging .
]
None