com.ibm.mq

Class MQMessageTracker

  1. java.lang.Object
  2. extended bycom.ibm.mq.jmqi.JmqiObject
  3. extended bycom.ibm.mq.MQMessageTracker
Direct known subclasses:
MQDistributionListItem

  1. public abstract class MQMessageTracker
  2. extends com.ibm.mq.jmqi.JmqiObject
exclude
This class is to be excluded

Field Summary

Modifier and Type Field and Description
  1. byte[]
accountingToken
Part of the identity context of the message.
  1. byte[]
correlationId
The correlation ID to use when the message is put.
  1. int
feedback
Used with a message of type MQC.MQMT_REPORT to indicate the nature of the report.
  1. byte[]
groupId
The byte array which identifies the message group to which the physical message belongs.
  1. byte[]
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

  1. 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

  1. public byte[] correlationId
The correlation ID to use when the message is put. The default value is MQC.MQCI_NONE.

groupId

  1. 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

  1. 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: Application-defined feedback values in the range 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

  1. 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

  1. public MQMessageTracker()
Constructs an MQMessageTracker object.