Logo: Relish

  1. Sign in

Project: Message-driver 0.1.0

Publishing A Message

  • @all_adapters
Background
Given
the following broker configuration:
MessageDriver::Broker.define do |b|
  b.destination :my_queue, "my_queue", exclusive: true
end
Scenarios
Running within a with_message_transaction block
When
I execute the following code:
publish(:my_queue, "Test Message")
Then
I expect to find 1 message on :my_queue with:
body
Test Message

Last published over 4 years ago by soupmatt.