Sha256: 30dbecd2f0e197c59f59b78231952c2507efc6b3ca354809b03a4d3415008feb
Contents?: true
Size: 372 Bytes
Versions: 11
Compression:
Stored size: 372 Bytes
Contents
# # Sample : put() : Put a single request message to a queue # require 'rubygems' require 'wmq' WMQ::QueueManager.connect(:q_mgr_name=>'REID') do |qmgr| message = WMQ::Message.new message.data = 'Hello World' message.descriptor = { :msg_type=> WMQ::MQMT_REQUEST, :reply_to_q=>'TEST.REPLY.QUEUE'} qmgr.put(:q_name=>'TEST.QUEUE', :message => message) end
Version data entries
11 entries across 11 versions & 3 rubygems