All Downloads are FREE. Search and download functionalities are using the official Maven repository.

mq5.0-source.src.share.java.examples.stomp.ruby.README Maven / Gradle / Ivy

There is a newer version: 5.1
Show newest version
@(#)README      1.0 11/10/08

STOMP examples

Description
-----------
This directory contains MQ STOMP examples that illustrates the use of the
STOMP protocol to send and receive JMS message.

Files
-----
SendMsg.rb		Source file for Ruby STOMP client that sends text
			message to a MQ STOMP server.
ReceiveMsg.rb		Source file for Ruby Stomp client that receives text
			message from a MQ STOMP server.
README			This file.

Configuring the environment
---------------------------
SendMsg.rb and ReceiveMsg.rb require Ruby 1.8.6 or later version.
A compatible Ruby interpreter such as JRuby 1.1.5 can also be used.

Running the example
-------------------
The examples can be run using the ruby command, e.g.

    ruby  -h

    or

    jruby  -h

For example,

    ruby SendMsg.rb -h

    or

    jruby SendMsg.rb -h




© 2015 - 2024 Weber Informatics LLC | Privacy Policy