Sha256: 14d73ff4199b02c758a1879ecda5975edef925eec385b80ee885c17cba2ea06d
Contents?: true
Size: 374 Bytes
Versions: 11
Compression:
Stored size: 374 Bytes
Contents
# # Sample : put1() : Put a single message to a queue # # Set the correlation id to a text string # require 'rubygems' require 'wmq' WMQ::QueueManager.connect(:q_mgr_name=>'REID') do |qmgr| message = WMQ::Message.new message.data = 'Hello World' message.descriptor[:correl_id] = 'My first message' qmgr.put(:q_name=>'TEST.QUEUE', :message=>message) end
Version data entries
11 entries across 11 versions & 3 rubygems