Dimension Solutions, Inc.

Ruby interface into WebSphere MQ (MQSeries) ®

7/4/2007

Working on the following in preparation for a  production stable release.

· 64Bit Support

· WMQ::MQMF_MSG_IN_GROUP causing  MQRC_WRONG_MD_VERSION[2257] (WMQ::WMQException)

 

1/19/2007 RubyWMQ is available as a Ruby gem:

gem install rubywmq

Prebuilt binaries available for Windows and Solaris Sparc.

 

Some of the features in Ruby WMQ V0.3.0:

· Support for all the MQ Headers

·  Including RFH, RFH2 etc...

· Removed the need to require the client or server libray

· The MQ Client or Server library is dynamically loaded at MQ connect time. This removes the previous need for requiring the mq client library

 

Compatibility Notes:

· Please update all existing Ruby Programs and change the require statement to:
require 'wmq/wmq'

· The wmq_client library no longer exists

· With MQ headers, :format is not permitted, it should only be supplied to the descriptor

· After installing using Ruby Gems it is recommended on UNIX systems to add the following line to the user profile (e.g. .profile):
export RUBYOPT=rubygems

 

Changes:

· Create Gem install

· Support all MQ Headers

· Test Cases updated

· Required to change to require 'wmq/wmq' to support make install

· Dynamically load MQ Server or Client library depending on whether connection_name is present

· Add first itteration of parameter validation. Validates all MQ Structures passed in as hashes. E.g. Message descriptor, headers

· Added very basic documentation to WMQ::Message

Text Box: On 6/12/2007 JRuby V1.0 was released!
Now that JRuby V1.0 is available, we can access the Java API for WebSphere MQ directly from Ruby.
See the JRuby Examples for WebSphere MQ