Class: Basquiat::Adapters::RabbitMq::BasicAcknowledge

Inherits:
BaseStrategy
  • Object
show all
Defined in:
lib/basquiat/adapters/rabbitmq/requeue_strategies/basic_acknowledge.rb

Instance Method Summary collapse

Methods inherited from BaseStrategy

#ack, #initialize, #nack, #requeue, session_options, setup

Constructor Details

This class inherits a constructor from Basquiat::Adapters::RabbitMq::BaseStrategy

Instance Method Details

#run(message) ⇒ Object



7
8
9
10
# File 'lib/basquiat/adapters/rabbitmq/requeue_strategies/basic_acknowledge.rb', line 7

def run(message)
  yield
  public_send(message.action, message)
end