MQDistributionListItem

public class MQDistributionListItem
extends MQMessageTracker
java.lang.Object
   |
   +----com.ibm.mq.MQMessageTracker
           |
           +----com.ibm.mq.MQDistributionListItem
          

Represents a single item (queue) within a distribution.

Constructors

MQDistributionListItem

public MQDistributionListItem();

Public constructor.

Fields

completionCode

public int

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.

queueManagerName

public java.lang.String

The name of the queue manager on which the queue is defined. The initial value is "" (empty string).

queueName

public java.lang.String

The name of a queue to be uses with a distribution list. It cannot be the name of a model queue.

The initial value is "" (empty string).

reasonCode

public int

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.

Methods

getNextDistributedItem

public MQDistributionListItem getNextDistributedItem();

Gets the next item in the chain.

Returns

getPreviousDistributedItem

public MQDistributionListItem getPreviousDistributedItem();

Gets the previous item in chain.

Returns