Class: Rabbit::Publishing::ChannelsPool::ConfirmQueue

Inherits:
BaseQueue
  • Object
show all
Defined in:
lib/rabbit/publishing/channels_pool.rb

Instance Method Summary collapse

Methods inherited from BaseQueue

#add_channel, #initialize, #pop, #push

Constructor Details

This class inherits a constructor from Rabbit::Publishing::ChannelsPool::BaseQueue

Instance Method Details

#create_channelObject



48
49
50
51
52
53
# File 'lib/rabbit/publishing/channels_pool.rb', line 48

def create_channel
  ch = @session.create_channel
  ch.confirm_select

  ch
end