Sha256: 266887ab020ac9243fe114d362dffebc23b3d7cf6cd2e403ae937b526a35caac
Contents?: true
Size: 687 Bytes
Versions: 1
Compression:
Stored size: 687 Bytes
Contents
module Basquiat module Adapters class RabbitMq class Message < Basquiat::Adapters::BaseMessage attr_reader :delivery_info, :props alias_method :di, :delivery_info def initialize(message, delivery_info = {}, props = {}) super(message) @delivery_info = delivery_info @props = props @action = :ack end def routing_key delivery_info.routing_key end def delivery_tag delivery_info.delivery_tag end def ack @action = :ack end def unack @action = :unack 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/message.rb |