Class: SneakersHandlers::DeadLetterHandler

Inherits:
Sneakers::Handlers::Oneshot
  • Object
show all
Defined in:
lib/sneakers_handlers/dead_letter_handler.rb

Instance Method Summary collapse

Constructor Details

#initialize(channel, queue, options) ⇒ DeadLetterHandler

Returns a new instance of DeadLetterHandler.



3
4
5
6
7
# File 'lib/sneakers_handlers/dead_letter_handler.rb', line 3

def initialize(channel, queue, options)
  super

  create_dead_letter_exchange!(channel, queue, options)
end