Table of Contents

Search

  1. Preface
  2. Introduction
  3. Dashboard
  4. Resources
  5. Workflows
  6. Task Reference
  7. Services Overview
  8. Users
  9. Logs and Reports
  10. Encryption
  11. System
  12. Appendix
  13. Glossary Terms

MQ Retrieve Message Task

MQ Retrieve Message Task

The MQ Retrieve Message task retrieves all available messages from a queue or topic.
Field
Definition
Basic Tab
Label
Specify a label for this task.
Session
Specify the reference to a valid MQ Session that was created using the Open MQ Session task (e.g. ${MQSession}).
Source Name
Specify the name of queue or topic from which message(s) should be retrieved.
Source Type
Select the type of source.
Default Value: queue
Topic Subscription
Specify the subscription ID for the topic. This is typically provided by your MQ server administrator. This is required if the specified Source Type is topic.
Current Message Variable
Specify the name of a variable to which the current message should be assigned. This can be used for example, to save the payload to a file using the message ID as the file name.
Output Directory
Specify the directory to which the retrieved messages, if any, should be saved.
Output Files Name
Specify the name of the file to which the retrieved messages, if any, should be saved. You can use the Current Message Variable to name the file using one or more attributes of the retrieved message.
When File Exists
Select the action to take when the specified output file already exists.
Default Value: rename
Advanced Tab
Message Filter
Specify the filter criteria to use when retrieving messages. If a filter is specified, only messages that match the filter criteria are retrieved. Refer to the Help for more information on how to specify the filter criteria.
Timeout (Seconds)
Specify the number of seconds to wait for the availability of the message.
Default Value: -1 (no wait time)
Retrieve Limit
Specify the maximum number of messages to be retrieved. A value of zero indicates that all available messages will be retrieved.
Default Value: 0
Output File Encoding
Specify the encoding or character set to use when saving the message to the output file. This option is used if and only if the type of message is determined to be text.
Default Value: The platform's default file encoding.
Output Variables Tab
Output Files Variable
If desired, specify the name of a variable which will contain the file(s) that were saved to the output directory. The variable will be of type File List and may be used in subsequent tasks that accept a File List input variable. The variable will be created if it does not exist.
Processed Messages Variable
Specify the name of a variable to which all the retrieved messages should be assigned.
Control Tab
Version
The version of this task.
Log Level
Specify the level of logging to use while executing this task. Valid options are - silent, normal, verbose and debug.
Default Value: Inherited from parent Module
Execute Only If
Specify a condition that must be satisfied before this task can be executed. This task will be skipped if the specified condition is not met.
Disabled
Whether or not this task is disabled.
Default Value: false
On Error Tab
On Error
Specify the action to take when this task errors out. Valid options are - abort, continue, call:[module] and setVariable:[name]=[value]. For call:[module] replace [module] with the name of the module in the project (e.g. call:ErrorModule). For setVariable:[name]=[value] replace [name] with a variable name and [value] with the variable value (e.g. setVariable:error=true).
Default Value: Inherited from parent Module

0 COMMENTS

We’d like to hear from you!