examples/put_rfh.rb in rubywmq-0.3.0-i386-mswin32-mq5.3 vs examples/put_rfh.rb in rubywmq-1.0.0
- old
+ new
@@ -16,9 +16,10 @@
#
# Sample : put() : Put a message to a queue with a Refernce header
# Open the queue so that multiple puts can be performed
#
+require 'rubygems'
require 'wmq/wmq'
# The Rules Format header (MQRFH) allows a list of name value pairs to be sent along
# with a WMQ message. These name value pairs are represented as follows on the "wire":
# Name1 Value1 Name2 Value2 Name3 Value3