Sha256: f7e5b53dc27e9dfef60443363c2dca912bf0247406d9821791b23bb58ffb97c2

Contents?: true

Size: 398 Bytes

Versions: 1

Compression:

Stored size: 398 Bytes

Contents

module MessageDriver
  module MessagePublisher
    def publish(destination, body, headers={}, properties={})
      Broker.publish(destination, body, headers, properties)
    end

    def pop_message(destination, options={})
      Broker.pop_message(destination, options)
    end

    def with_message_transaction(options={}, &block)
      Broker.with_transaction(options, &block)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
message-driver-0.1.0 lib/message_driver/message_publisher.rb