Sha256: aaa5259ce18d938691b767e78bcf6f45be827ad1b8c195ff9bfa29eb061a060b
Contents?: true
Size: 521 Bytes
Versions: 2
Compression:
Stored size: 521 Bytes
Contents
require 'delegate' module DispatchRider module QueueServices class ReceivedMessage < ::SimpleDelegator #Item is the raw message item as returned by the queue implementor #it's contents will depend on the queue being used attr_reader :item def initialize(message, item) @item = item super(message) end def extend_timeout(time) raise NotImplementedError end def return_to_queue raise NotImplementedError end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
dispatch-rider-1.1.7 | lib/dispatch-rider/queue_services/received_message.rb |
dispatch-rider-1.1.6 | lib/dispatch-rider/queue_services/received_message.rb |