com.ibm.mq

Class MQDistributionListItem

  1. java.lang.Object
  2. extended bycom.ibm.mq.jmqi.JmqiObject
  3. extended bycom.ibm.mq.MQMessageTracker
  4. extended bycom.ibm.mq.MQDistributionListItem

  1. public class MQDistributionListItem
  2. extends MQMessageTracker
Represents a single item (queue) within a distribution list.

Field Summary

Modifier and Type Field and Description
  1. int
completionCode
The completion code resulting from the most recent operation on this item.
  1. java.lang.String
queueManagerName
The name of the queue manager on which the queue is defined.
  1. java.lang.String
queueName
The name of a queue to be used with a distribution list.
  1. 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

Constructor Summary

Constructor and Description
MQDistributionListItem()
Public constructor.

Method Summary

Modifier and Type Method and Description
  1. MQDistributionListItem
getNextDistributedItem()
Gets the next item in the chain.
  1. MQDistributionListItem
getPreviousDistributedItem()
Gets the previous item in the chain.
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Field Detail

queueManagerName

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

queueName

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

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

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

  1. public MQDistributionListItem()
Public constructor.

Method Detail

getNextDistributedItem

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

getPreviousDistributedItem

  1. public MQDistributionListItem getPreviousDistributedItem( )
Gets the previous item in the chain.
Returns:
the previous item, or null if none.