Sha256: 59776e66f9e0f0150873772f9607ed66beea23330c42165407c25734bda3538a
Contents?: true
Size: 634 Bytes
Versions: 1
Compression:
Stored size: 634 Bytes
Contents
module Basquiat module Adapters class RabbitMq class BaseStrategy class << self def session_options {} end def setup(options = {}) @options = options end end def initialize(session) @session = session end def run(_message) fail Basquiat::Errors::SubclassResponsibility end def ack(delivery_tag) @session.channel.ack(delivery_tag) end def unack(delivery_tag) @session.channel.nack(delivery_tag, false) end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
basquiat-1.2.0 | lib/basquiat/adapters/rabbitmq/requeue_strategies/base_strategy.rb |