This project is not covered by Drupal’s security advisory policy.

This module provides Drush commands that can be used to read MQ data and pass it to other modules that process it.

The module was designed as an API module to be used in portals that require connections to IBM MQ.

Dependencies

This module depends on the gu/mqclient library, which in turn depends on the mqseries pecl extension. The University of Gothenburg maintains the gu/mqclient library, as well as an update to the PECL mqseries extension. The source code for all those projects is available here:
https://bitbucket.org/gu-utv/workspace/projects/OP

Installation

This module does not process or store any data, therefore, it is only useful when combined with other modules that provide it with the resources to process and persist incoming MQ messages. That is why this module should be added to the composer.json file of another module or installation profile.
This module depends on the gu/mqclient composer package, therefore, it is best to install this module with composer.

Configuration

The following environment variables are used by the module to configure the MQ Client:

MQ_SERVER_ADDRESS
MQ_SERVER_PORT
MQ_SERVER_CHANNEL
MQ_SERVER_KEY_REPOSITORY
MQ_SERVER_AUTH_USER
MQ_SERVER_AUTH_PASS
MQ_SERVER_QUEUE_MANAGER

Available Drush commands

drush mq:process_queue <queue name> <resource class> --presist --commit --count=10000
drush mq:test_connection
drush mq:test_queue <queue_name>

Development

Development and support happen on the following repository
https://bitbucket.org/gu-utv/mqclient_drush/src/
Mirroring is not regular, so the version here might not be up to date with the latest development.

Supporting organizations: 
Developed this module

Project information

Releases