Sha256: e834cc620196696688196bfe08a714fd94b66c77403fd8232e573c6d845663f7
Contents?: true
Size: 670 Bytes
Versions: 1
Compression:
Stored size: 670 Bytes
Contents
module MessageDriver module Adapters class Base def initialize(configuration) raise "Must be implemented in subclass" end def publish(destination, body, headers={}, properties={}) raise "Must be implemented in subclass" end def pop_message(destination, options={}) raise "Must be implemented in subclass" end def stop raise "Must be implemented in subclass" end def create_destination(name, dest_options={}, message_props={}) raise "Must be implemented in subclass" end def with_transaction(options={}, &block) yield end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
message-driver-0.1.0 | lib/message_driver/adapters/base.rb |