examples/put1_c.rb in rubywmq-0.3.0-i386-mswin32-mq5.3 vs examples/put1_c.rb in rubywmq-1.0.0
- old
+ new
@@ -15,9 +15,10 @@
################################################################################
#
# Sample : put() : Put a single request message to a queue
#
+require 'rubygems'
require 'wmq/wmq'
WMQ::QueueManager.connect(:q_mgr_name=>'REID') do |qmgr|
message = WMQ::Message.new
message.data = 'Hello World'