Package com.ibm.mq
Class MQDistributionListItem
java.lang.Object
com.ibm.mq.jmqi.JmqiObject
com.ibm.mq.MQMessageTracker
com.ibm.mq.MQDistributionListItem
public class MQDistributionListItem
extends com.ibm.mq.MQMessageTracker
Represents a single item (queue) within a distribution list.
-
Field Summary
FieldsModifier and TypeFieldDescriptionintThe completion code resulting from the most recent operation on this item.The name of the queue manager on which the queue is defined.The name of a queue to be used with a distribution list.intThe reason code resulting from the last operation on this item.Fields inherited from class com.ibm.mq.MQMessageTracker
accountingToken, correlationId, feedback, groupId, messageIdFields inherited from class com.ibm.mq.jmqi.JmqiObject
COMP_JM, COMP_JN, COMP_JO -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the next item in the chain.Gets the previous item in the chain.Methods inherited from class com.ibm.mq.jmqi.JmqiObject
getJmqiEnvironment
-
Field Details
-
queueManagerName
The name of the queue manager on which the queue is defined. The initial value is "" (empty string). -
queueName
The name of a queue to be used with a distribution list. It cannot be the name of a model queue.The initial value is "" (empty string).
-
completionCode
public int completionCodeThe completion code resulting from the most recent operation on this item. If this was the construction of a distribution list, the completion code relates to the opening of the queue. If it was a put operation, the completion code relates to the attempt to put a message onto this queue.The initial value is 0.
-
reasonCode
public int reasonCodeThe reason code resulting from the last operation on this item. If this was the construction of a distribution list, the reason code relates to the opening of the queue. If it was a put operation, the reason code relates to the attempt to put a message onto this queue.The initial value is 0.
-
-
Constructor Details
-
MQDistributionListItem
public MQDistributionListItem()Public constructor.
-
-
Method Details
-
getNextDistributedItem
Gets the next item in the chain.- Returns:
- the next item, or null if none.
-
getPreviousDistributedItem
Gets the previous item in the chain.- Returns:
- the previous item, or null if none.
-