Sha256: 1ef7b10a829289c507c1fb9f37d22bb5878eca89ea73b0bf16741cc67b0278c0
Contents?: true
Size: 614 Bytes
Versions: 6
Compression:
Stored size: 614 Bytes
Contents
module RosettaQueue module Gateway class BaseAdapter protected def options_for(message_handler) (message_handler.options_hash) || {} end def destination_for(message_handler) raise DestinationNotFound.new("Missing destination!") unless message_handler.destination @dest ||= Destinations.lookup(message_handler.destination.to_sym) end def filter_receiving(msg) Filters.process_receiving(msg) end def filter_sending(msg) Filters.process_sending(msg) end end end end
Version data entries
6 entries across 6 versions & 2 rubygems