summaryrefslogtreecommitdiff
path: root/qpid/cpp/bindings
diff options
context:
space:
mode:
Diffstat (limited to 'qpid/cpp/bindings')
-rw-r--r--qpid/cpp/bindings/qpid/ruby/examples/spout.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/bindings/qpid/ruby/examples/spout.rb b/qpid/cpp/bindings/qpid/ruby/examples/spout.rb
index 71c04d8709..f7170f146b 100644
--- a/qpid/cpp/bindings/qpid/ruby/examples/spout.rb
+++ b/qpid/cpp/bindings/qpid/ruby/examples/spout.rb
@@ -106,7 +106,7 @@ session = connection.create_session
sender = session.create_sender options[:address]
message = Qpid::Messaging::Message.new
-options[:properties].each_key {|key| message.properties[key] = options[:properties][key]}
+options[:properties].each_key {|key| message[key] = options[:properties][key]}
(1..options[:count]).each do |count|
if !options[:mapped].keys.empty?