Data Transformation Engine IBM WebSphere MQ Adapter Reference Guide

Chapter 3 - IBM WebSphere MQ Commands List of Commands
IBM WebSphere MQ Adapter Reference Guide
38
Ignore Group Message (-XGRP)
Use the Ignore Group Message adapter command (-XGRP) for data sources to
ignore the group messages on the queue and not to treat them as individual,
physical messages. The default behavior of the IBM WebSphere MQ adapter is to
process all physical messages, including group messages, as individual events.
-XGRP
The Ignore Group Message adapter command (
-XGRP) causes the adapter to
ignore any group messages on that queue for the source event card. If both
groups and non-group messages are to be processed as events from the same
source queue, the Error! Reference source not found. (
–GRP2) command can
be used.
Note If the Group Message adapter command (-GRP) is used with an event source
queue, the adapter ignores non-group messages on that queue. It only processes
the messages from the group specified with the -GRP adapter command, or, if no
group was specified, the first group that it locates on the queue.
If neither -XGRP or -GRP is used, all messages are treated as non-group
messages and processed individually.
Listen (-LSN)
Use the Listen adapter command (-LSN) for data sources to dictate the length of
time (in seconds) that the IBM WebSphere MQ queue manager allows the adapter
to wait for a message to be received. Map execution is suspended until the
message is received or until the specified time lapses.
-LSN {0|S|
wait_time_in_sec
}
Option Description
0
Do not wait at all. If there is no input available,
the adapter does not wait for more messages.
S
This is an infinite wait time.
wait_time_in_sec
This is the number of seconds that the adapter
waits (in seconds) for a message.