Ruby interface into WebSphere MQ (MQSeries) ®
Several examples have been put together to demonstrate how to use Ruby WMQ. They are also a good place to start when writing a new application.
The following examples are included in the gem and source package distributions available on RubyForge.
Put one message to a Queue (Without opening the queue)
Put messages to a Queue
Read one message from a queue
Reading Several messages from a Queue:
Connect using MQ Client connection
Put Messages to a Queue as a group
Put Messages to a Queue, including message headers
Writing multiple files to a queue, where each file is a separate message:
Writing the contents of a queue to multiple files, where each message is a separate file:
Sample “client” and “server” side applications for sending or processing requests