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 Details

    • queueManagerName

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

      public 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 Details

    • MQDistributionListItem

      public MQDistributionListItem()
      Public constructor.
  • Method Details

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