com.ibm.mq
Class MQMessageTracker
- java.lang.Object
com.ibm.mq.jmqi.JmqiObject
com.ibm.mq.MQMessageTracker
Direct known subclasses:
- public abstract class MQMessageTracker
- extends com.ibm.mq.jmqi.JmqiObject
exclude
This class is to be excluded
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
accountingToken
Part of the identity context of the message.
|
|
correlationId
The correlation ID to use when the message is put.
|
|
feedback
Used with a message of type MQC.MQMT_REPORT to indicate the nature of the report.
|
|
groupId
The byte array which identifies the message group to which the physical message belongs.
|
|
messageId
The message ID - identifies the message when it is put.
|
| Fields inherited from class com.ibm.mq.jmqi.JmqiObject |
|---|
COMP_JM, COMP_JN, COMP_JO |
Constructor Summary
| Constructor and Description |
|---|
MQMessageTracker()
Constructs an MQMessageTracker object.
|
Method Summary
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail
messageId
- public byte[] messageId
The message ID - identifies the message when it is put. If MQC.MQMI_NONE is specified, the
queue manager generates a unique message ID when the message is put. The default value is
MQC.MQMI_NONE.
correlationId
- public byte[] correlationId
The correlation ID to use when the message is put. The default value is MQC.MQCI_NONE.
groupId
- public byte[] groupId
The byte array which identifies the message group to which the physical message belongs. The
default value is MQC.MQGI_NONE.
feedback
- public int feedback
Used with a message of type MQC.MQMT_REPORT to indicate the nature of the report. The following
feedback codes are defined by the system:
-
MQC.MQFB_BUFFER_OVERFLOW -
MQC.MQFB_COA -
MQC.MQFB_COD -
MQC.MQFB_DATA_LENGTH_NEGATIVE -
MQC.MQFB_DATA_LENGTH_TOO_BIG -
MQC.MQFB_DATA_LENGTH_ZERO -
MQC.MQFB_EXPIRATION -
MQC.MQFB_IIH_ERROR -
MQC.MQFB_LENGTH_OFF_BY_ONE -
MQC.MQFB_NAN -
MQC.MQFB_NONE -
MQC.MQFB_PAN -
MQC.MQFB_QUIT
MQC.MQFB_APPL_FIRSTto
MQC.MQFB_APPL_LASTcan also be used.
The default value of this field is MQC.MQFB_NONE, indicating that no feedback is provided.
accountingToken
- public byte[] accountingToken
Part of the identity context of the message. It allows an application to charge for work done
as a result of the message. The default value is MQC.MQACT_NONE.
Constructor Detail
MQMessageTracker
- public MQMessageTracker()
Constructs an MQMessageTracker object.