MQMessageTracker

 




java.lang.Object
   |
   *- com.ibm.mq.MQMessageTracker

public abstract class MQMessageTracker
extends Object

Note:
You can use this class only when connected to a WebSphere MQ queue manager.

This class is inherited by MQDistributionListItem (in topic "MQDistributionListItem") where it is used to tailor message parameters for a given destination in a distribution list.

 

Variables

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.

correlationId
public byte correlationId[]

The correlation identifier to use when the message is put.

The default value is MQC.MQCI_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

Application-defined feedback values in the range MQC.MQFB_APPL_FIRST to MQC.MQFB_APPL_LAST can also be used.

The default value of this field is MQC.MQFB_NONE, indicating that no feedback is provided.

groupId
public byte[] groupId

A byte string that identifies the message group to which the physical message belongs.

The default value is MQC.MQGI_NONE.

messageId
public byte messageId[]

The message identifier to use when the message is put. If MQC.MQMI_NONE is specified, the queue manager generates a unique message identifier when the message is put. The value of this member variable is updated after the put to indicate the message identifier that was used.

The default value is MQC.MQMI_NONE.

 

WebSphere is a trademark of the IBM Corporation in the United States, other countries, or both.

 

IBM is a trademark of the IBM Corporation in the United States, other countries, or both.