Class: Bunny::Channel

Inherits:
Object
  • Object
show all
Defined in:
lib/mumukit/nuntius/channel.rb

Instance Method Summary collapse

Instance Method Details

#persistent_publish(data, queue_name) ⇒ Object



3
4
5
# File 'lib/mumukit/nuntius/channel.rb', line 3

def persistent_publish(data, queue_name)
  default_exchange.publish(data, :routing_key => queue_name, persistent: true)
end