Sha256: f38a1c50cde3cc5f14c72e9bca62a1f67f20c9595165e947316aa20fa969cfd1

Contents?: true

Size: 360 Bytes

Versions: 6

Compression:

Stored size: 360 Bytes

Contents

require 'bundler/setup'
require 'message-driver'
require 'logger'

LOG = Logger.new(STDOUT)
LOG.level = Logger::DEBUG

MessageDriver.configure(
  adapter: "bunny",
  vhost: "message-driver-dev",
  heartbeat_interval: 2,
  logger: LOG
)

MessageDriver::Broker.define do |b|
  b.destination :basic_consumer_producer, "basic.consumer.producer", durable: true
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
message-driver-0.3.0 examples/basic_producer_and_consumer/common.rb
message-driver-0.2.2 examples/basic_producer_and_consumer/common.rb
message-driver-0.2.1 examples/basic_producer_and_consumer/common.rb
message-driver-0.2.0 examples/basic_producer_and_consumer/common.rb
message-driver-0.2.0.rc2 examples/basic_producer_and_consumer/common.rb
message-driver-0.2.0.rc1 examples/basic_producer_and_consumer/common.rb