Data Transformation Engine IBM WebSphere MQ Adapter Reference Guide

Chapter 3 - IBM WebSphere MQ Commands List of Commands
IBM WebSphere MQ Adapter Reference Guide
30
workload exit if one exists) according to the value of the DefBind queue attribute.
This attribute may have one of two values:
If MQOO_BIND_ON_OPEN is specified, the queue manager selects a particular
instance of the cluster queue during the processing of the MQOPEN call, and all
messages put using this queue handle are sent to that instance.
If MQOO_BIND_NOT_FIXED is specified, the queue manager may choose a
different instance of the destination queue (residing on a different queue
manager in the cluster) on each successive MQPUT call that uses this queue
handle.
For more information about setting these options, refer to MQOPEN Options.
Examples
To put a message to a queue named q1 (which exists on the cluster queue
manager cqm1) where the adapter is connecting to the cluster queue manager
cqm_default, enter:
-QMN cqm_default -QN q1 -CQMN cqm1
To put a message to a queue named q2 residing on a cluster queue manager, for
which the local queue manager of the cluster is cqm_default, enter:
-QMN cqm_default -QN q2 -CQMN
Note The Cluster Queue Manager Name adapter command (-CQMN) applies only to data
targets. IBM WebSphere MQ does not support gets (data sources) from remote
queues not residing on the local queue manager, which include cluster queues.
Complete Message (-CMSG)
Use the Complete Message adapter command (-CMSG) for data sources to specify
retrieval of complete logical messages within group messages.
-CMSG
The Complete Message adapter command (
-CMSG) specifies that only a complete
logical message can be returned by the MQGET call. If the logical message is
segmented, the queue manager reassembles the segments and returns the
complete logical message.
Note The Complete Message adapter command (-CMSG) is the only adapter command
that causes the queue manager to reassemble message segments. Using the
Complete Message adapter command (-CMSG) directs the messaging adapter to
set the MQGMO_COMPLETE_MSG flag in the MQGMO.Options field.