public class MQPutMessageOptions
extends com.ibm.mq.jmqi.JmqiObject
MQQueue.put.| Modifier and Type | Field and Description |
|---|---|
MQQueue |
contextReference
An input field that indicates the source of the context information.
|
int |
contextReferenceHandle
Handle to the context reference
|
int |
invalidDestCount
Number of messages that could not be sent.
|
int |
knownDestCount
Number of messages successfully sent to local queues.
|
int |
options
Options that control the action of
MQQueue.put(). |
int |
recordFields
Flag that controls the behavior of MQPUT when used with distribution lists.
|
java.lang.String |
resolvedQueueManagerName
An output field set by the queue manager to the name of the queue manager that owns the remote
queue.
|
java.lang.String |
resolvedQueueName
The output field set by the queue manager to the name of the queue on which the message is
placed.
|
int |
unknownDestCount
Number of messages successfully sent to remote queues.
|
| Constructor and Description |
|---|
MQPutMessageOptions()
Constructs an object with no options set, and blank resolvedQueueName and
resolvedQueueManagerName.
|
MQPutMessageOptions(boolean noReadBack)
Constructs an MQPutMessageOptions object; reading the
optionsfield is
optional. |
public int options
MQQueue.put(). Any or none of
the following values can be specified. If more than one option is required, the values can be
combined using '&' or '|'.
Note that the default syncpoint is CMQC.MQPMO_NO_SYNCPOINT for all platforms.
CMQC.MQPMO_SYNCPOINT
CMQC.MQPMO_NO_SYNCPOINT- default
CMQC.MQPMO_NO_CONTEXT
CMQC.MQPMO_DEFAULT_CONTEXT
CMQC.MQPMO_SET_IDENTITY_CONTEXT
CMQC.MQPMO_SET_ALL_CONTEXT
CMQC.MQPMO_FAIL_IF_QUIESCING
CMQC.MQPMO_NEW_MSG_ID
CMQC.MQPMO_NEW_CORREL_ID
CMQC.MQPMO_LOGICAL_ORDER
CMQC.MQPMO_ALTERNATE_USER_AUTHORITY
CMQC.MQPMO_RESOLVE_LOCAL_Q
CMQC.MQPMO_ASYNC_RESPONSE
public int contextReferenceHandle
public MQQueue contextReference
CMQC.MQPMO_PASS_IDENTITY_CONTEXT or
CMQC.MQPMO_PASS_ALL_CONTEXT, set this field to refer to the
MQQueue from which to take the context information. The initial value of this field is null.public java.lang.String resolvedQueueName
public java.lang.String resolvedQueueManagerName
public int knownDestCount
public int unknownDestCount
public int invalidDestCount
public int recordFields
public MQPutMessageOptions()
public MQPutMessageOptions(boolean noReadBack)
optionsfield is
optional. You can use this constructor to save some overheads if your application never needs
to read back the options field.noReadBack - if true this disables the reading back the options MQPMO field. This
avoids the overhead of converting it.