<commit_before># rubywmq

RubyWMQ is a high performance native Ruby interface into WebSphere MQ.

* http://github.com/reidmorrison/rubywmq

### Project Status 

RubyWMQ is now in _maintenance mode_. It is not under active development but pull requests are very much welcome. Just be sure to include tests!

Note: IBM MQSeries encryption is not supported. Pull requests with this feature are welcome!

### Features

The Ruby WMQ interface currently supports the following features:

High performance

* Able to read over 2,000 messages per second from a Queue
    * Non-persistent messages, < 4K each, MQ V6

Full support for the entire MQ Administration interface (MQAI)

* Create Queues
* Query Queue Depths
* etc…

Full support for all WebSphere MQ Headers

* Rules and Format Header 2 (RFH2)
* Rules and Format Header (RFH)
* Name Value pairs returned as a Hash
* Dead Letter Header
* Transmission Queue Header
* IMS, CICS, …..

Conforms with the Ruby way. Implements:

* each
* Code blocks

Relatively easy interface for reading or writing messages

* MQ Headers made easy

Single Ruby WMQ auto-detection library that concurrently supports:

* WebSphere MQ Server Connection
* WebSphere MQ Client Connection

Includes latest client connection options such as SSL

Tested with WebSphere MQ V5.3, V6, V7, V7.5, and V8

Is written in C to ensure easier portability and performance

### Compatibility

* Ruby 1.9 or greater
* Not designed for JRuby, use (jruby-jms)[https://github.com/reidmorrison/jruby-jms]

WebSphere MQ

* RubyWMQ parses the header files that come with WebSphere MQ so always
  stays up to date with the latest structures and return codes
* RubyWMQ has been tested against WebSphere MQ 5, 6, and 7.5

## Example

```ruby
require 'wmq'

# Connect to a local queue manager called 'TEST' and put a single message
# on the queue 'TEST.QUEUE'
WMQ::QueueManager.connect(q_mgr_name: 'TEST') do |qmgr|
    qmgr.put(q_name: 'TEST.QUEUE', data: 'Hello World')
end
```<commit_msg>Fix Readme<commit_after># rubywmq

RubyWMQ is a high performance native Ruby interface into WebSphere MQ.

* http://github.com/reidmorrison/rubywmq

### Project Status 

RubyWMQ is now in _maintenance mode_. It is not under active development but pull requests are very much welcome. Just be sure to include tests!

Note: IBM MQSeries encryption is not supported. Pull requests with this feature are welcome!

### Features

The Ruby WMQ interface currently supports the following features:

High performance

* Able to read over 2,000 messages per second from a Queue
    * Non-persistent messages, < 4K each, MQ V6

Full support for the entire MQ Administration interface (MQAI)

* Create Queues
* Query Queue Depths
* etc…

Full support for all WebSphere MQ Headers

* Rules and Format Header 2 (RFH2)
* Rules and Format Header (RFH)
* Name Value pairs returned as a Hash
* Dead Letter Header
* Transmission Queue Header
* IMS, CICS, …..

Conforms with the Ruby way. Implements:

* each
* Code blocks

Relatively easy interface for reading or writing messages

* MQ Headers made easy

Single Ruby WMQ auto-detection library that concurrently supports:

* WebSphere MQ Server Connection
* WebSphere MQ Client Connection

Includes latest client connection options such as SSL

Tested with WebSphere MQ V5.3, V6, V7, V7.5, and V8

Is written in C to ensure easier portability and performance

### Compatibility

* Ruby 1.9 or greater
* Not designed for JRuby, use [jruby-jms](https://github.com/reidmorrison/jruby-jms)

WebSphere MQ

* RubyWMQ parses the header files that come with WebSphere MQ so always
  stays up to date with the latest structures and return codes
* RubyWMQ has been tested against WebSphere MQ 5, 6, and 7.5

## Example

```ruby
require 'wmq'

# Connect to a local queue manager called 'TEST' and put a single message
# on the queue 'TEST.QUEUE'
WMQ::QueueManager.connect(q_mgr_name: 'TEST') do |qmgr|
    qmgr.put(q_name: 'TEST.QUEUE', data: 'Hello World')
end
```
{'fraction_non_alphanumeric': 0.06540880503144654, 'fraction_numerical': 0.010566037735849057, 'mean_word_length': 4.315508021390374, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6376473', 'n_tokens_mistral': 1253, 'n_tokens_neox': 1196, 'n_words': 553}