examples/put1_b.rb in rubywmq-0.3.0-i386-mswin32-mq5.3 vs examples/put1_b.rb in rubywmq-1.0.0
- old
+ new
@@ -17,9 +17,10 @@
#
# Sample : put1() : Put a single message to a queue
#
# Set the correlation id to a text string
#
+require 'rubygems'
require 'wmq/wmq'
WMQ::QueueManager.connect(:q_mgr_name=>'REID') do |qmgr|
message = WMQ::Message.new