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

      Fields 
      Modifier and Type Field and Description
      int completionCode
      The completion code resulting from the most recent operation on this item.
      java.lang.String queueManagerName
      The name of the queue manager on which the queue is defined.
      java.lang.String queueName
      The name of a queue to be used with a distribution list.
      int reasonCode
      The reason code resulting from the last operation on this item.
      • Fields inherited from class com.ibm.mq.MQMessageTracker

        accountingToken, correlationId, feedback, groupId, messageId
      • Fields inherited from class com.ibm.mq.jmqi.JmqiObject

        COMP_JM, COMP_JN, COMP_JO
    • Field Detail

      • queueManagerName

        public java.lang.String queueManagerName
        The name of the queue manager on which the queue is defined. The initial value is "" (empty string).
      • queueName

        public java.lang.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 completionCode
        The 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 reasonCode
        The 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 Detail

      • MQDistributionListItem

        public MQDistributionListItem()
        Public constructor.
    • Method Detail

      • getNextDistributedItem

        public MQDistributionListItem getNextDistributedItem()
        Gets the next item in the chain.
        Returns:
        the next item, or null if none.
      • getPreviousDistributedItem

        public MQDistributionListItem getPreviousDistributedItem()
        Gets the previous item in the chain.
        Returns:
        the previous item, or null if none.
(c) Copyright IBM Corp. 2008, 2015. All Rights Reserved.