|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.mq.MQGetMessageOptions
This class contains options which control the behaviour of MQQueue.get()
.
Field Summary | |
char |
groupStatus
Whether the retrieved message is in a group, and if it is, whether it is the last in the group. |
int |
matchOptions
Selection criteria that determine which message is retrieved. |
byte[] |
msgToken
A token for use when getting messages. |
int |
options
Options that control the action of MQQueue.get(). |
java.lang.String |
resolvedQueueName
The local name of the queue from which the message was retrieved. |
int |
returnedLength
The length in bytes of the message data. |
char |
segmentation
Whether segmentation is allowed for the retrieved message. |
char |
segmentStatus
Whether the retrieved message is a segment of a logical message. |
int |
waitInterval
The maximum time (in milliseconds) that an MQQueue.get() call waits for a suitable message to arrive. |
Constructor Summary | |
MQGetMessageOptions()
Constructs an MQGetMessageOptions object with options set to MQC.MQGMO_MO_WAIT, a wait interval of zero, and a blank resolved queue name. |
|
MQGetMessageOptions(boolean noReadBack)
Constructs an MQGetMessageOptions object with an option on reading options field.
|
Method Summary |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public int options
MQC.MQGMO_WAIT
MQC.MQGMO_NO_WAIT
MQC.MQGMO_SYNCPOINT
MQC.MQGMO_NO_SYNCPOINT
- default
MQC.MQGMO_BROWSE_FIRST
MQC.MQGMO_BROWSE_NEXT
MQC.MQGMO_BROWSE_MSG_UNDER_CURSOR
MQC.MQGMO_MSG_UNDER_CURSOR
MQC.MQGMO_LOCK
MQC.MQGMO_UNLOCK
MQC.MQGMO_ACCEPT_TRUNCATED_MSG
MQC.MQGMO_FAIL_IF_QUIESCING
MQC.MQGMO_CONVERT
public int waitInterval
public java.lang.String resolvedQueueName
public byte[] msgToken
public int returnedLength
public int matchOptions
MQC.MQMO_MATCH_CORREL_ID
MQC.MQMO_MATCH_GROUP_ID
MQC.MQMO_MATCH_MSG_ID
MQC.MQMO_MATCH_MSG_SEQ_NUMBER
MQC.MQMO_NONE
public char groupStatus
public char segmentStatus
public char segmentation
Constructor Detail |
public MQGetMessageOptions()
public MQGetMessageOptions(boolean noReadBack)
options
field.
You can use this constructor to save some overheads if your application never
needs to read back the options field.
noReadBack
- if true, prevents the options MQGMO field from being read back.
This means that the overhead of converting it is avoided.
|
(c) Copyright IBM Corp. 2005. All Rights Reserved. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |