The MQGet node icon
This page contains information on:
The MQGet node retrieves a message from an MQSeries queue and adds the message into the message flow.
The MQGet node has one input terminal called in and three output terminals, out, no message and failure. When a message is received in the input terminal, the node attempts to get a message from the queue defined in the attributes of the node. If no message is available, the original incoming messages is propagated without change through the no message terminal. If a message is retrieved from the queue, the message is added as a single new field into the outgoing message. The name of the field and its location in the message tree is supplied as a configuration attribute of the node. If an error is encountered, the incoming message is sent without change through the fail terminal and a message logged to the MQSI V2 message log.
The MQGet node provides the following terminals:
The MQGet node retrieves a message from an MQSeries queue. In order to achieve this, the name of the queue and how to get the message must be specified. In addition, when the message is retrieved from the queue, the location in the message tree must be specified into which the message will be retrieved.
The MQGet node allows a message to be retrieved and that message interpreted as either a String or a Byte Array (BLOB). This is also a parameter.
Property | Default | Description |
Input Queue Name | Name of the MQSeries queue from which the message will be retrieved | |
Message Tree Location | The path in the message flow into which the retrieved
message will be stored. This path is supplied in ESQL notation and
must begin with "Root.". For example, to save the
retrieved message as a field called 'Data' in an XML message, specify:
Root.XML.A.Data
|
|
Data Type | BLOB | The element data type that will be used to hold the message in the resulting message tree. This may be either BLOB or String. |
Select by MsgId | false | Should the message be retrieved from the queue by MsgId or simply the first available? If by MsgId, then the 'Root.MQMD.MsgId' field will be used to select the new message. |
Select by CorrelId | false | Should the message be retrieved from the queue by matching CorreldId or simply the first available? If by CorrelId, then the 'Root.MQMD.CorrelId' field will be used to select the new message. |
Transaction Mode | Automatic | Transaction Mode – This option allows the message to be
obtained as part of the logical unit of work of the message flow. The possible values of this attribute are:
|
(C) IBM Corporation 2001. All Rights Reserved