mq_series_adaptor [TAST DokuWiki ]

User Tools

Site Tools


Sidebar

First steps in TAST

What is UML

Computer setup for TAST use

FAQ

Recognized Issues

TAST tool Menu

TAST Adaptors

Adaptors examples

TAST Integrations

Interesting features

Documentation of technical administration

Modeling recommendations

Training in the TAST tool

mq_series_adaptor

This is an old revision of the document!


MQ Series Adaptor

Introduction

This adaptor is used to connect with a MQ console to be able to work with a huge amount of data. MQ queues are data structure that follow the FIFO (First in, First out) philosophy, first message in fisrt out.

Configuration

In the initialisation process, it is necessary to provide the information to connect to the queue. This is the information that the adapter needs:

Initialization Parameters

  • Queue name: Name of the queue to connect.
  • Queue manager: Queue manager name.
  • Channel name: Channel name.
  • Host: Ip address of the queue console.
  • Port: Port for the IP address of the queue console.
  • User: Username to access the MQ console.
  • Password: Password to access the MQ console.
  • Message selector: Option to choose a specific message.
  • Queue type: Type of queue to be connected. For example: Sender (Receives messages) or Receiver (Sends messages).

Funciones

  • commit: confirmation of a temporary to permanent change.
  • connect: Attempts to connect to the specified queue. Returns true if it succeeds, and returns false or error if it fails. No parameters are required as it uses the parameters of the adapter.
  • disconnect: Disconnects from the queue. Returns true on success or false otherwise. No parameters required.
  • receiveMessage: Reads and receives all the messages thrown into a queue. The first message received would be stored in the first position and the last one in the last position.
  • sendMessage: Send messages to the queue. You must indicate in the parameters which message the queue has to receive.
mq_series_adaptor.1647602403.txt.gz · Last modified: 2022/03/18 11:20 by montse