Sha256: 6cb9799d746d66d02b921bc954e926a7a30fa62e66098ebfe6d0bcc74baf0bf1

Contents?: true

Size: 360 Bytes

Versions: 12

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

12 entries across 12 versions & 1 rubygems

Version Path
message-driver-1.0.1 examples/basic_producer_and_consumer/common.rb
message-driver-1.0.0 examples/basic_producer_and_consumer/common.rb
message-driver-0.7.2 examples/basic_producer_and_consumer/common.rb
message-driver-0.7.1 examples/basic_producer_and_consumer/common.rb
message-driver-0.7.0 examples/basic_producer_and_consumer/common.rb
message-driver-0.6.1 examples/basic_producer_and_consumer/common.rb
message-driver-0.6.0 examples/basic_producer_and_consumer/common.rb
message-driver-0.5.3 examples/basic_producer_and_consumer/common.rb
message-driver-0.5.2 examples/basic_producer_and_consumer/common.rb
message-driver-0.5.1 examples/basic_producer_and_consumer/common.rb
message-driver-0.5.0 examples/basic_producer_and_consumer/common.rb
message-driver-0.4.0 examples/basic_producer_and_consumer/common.rb