Properties

ClusterWorkLoadPriority

public int ClusterWorkLoadPriority {get;}
Specifies the priority of the queue. This parameter is valid only for local, remote, and alias queues.

ClusterWorkLoadRank

public int ClusterWorkLoadRank {get;}
Specifies the rank of the queue. This parameter is valid only for local, remote, and alias queues.

ClusterWorkLoadUseQ

public int ClusterWorkLoadUseQ {get;}
Specifies the behavior of an MQPUT operation when the target queue has a local instance and at least one remote cluster instance. This parameter does not apply if the MQPUT originates from a cluster channel. This parameter is valid only for local queues.

CreationDateTime

public DateTime CreationDateTime {get;}

Throws MQException.

The date and time that this queue was created.

CurrentDepth

public int CurrentDepth {get;}

Throws MQException.

Gets the number of messages currently on the queue. This value is incremented during a put call, and during backout of a get call. It is decremented during a non-browse get and during backout of a put call.

DefinitionType

public int DefinitionType {get;}

Throws MQException.

How the queue was defined.

Returns

One of the following:

  • MQC.MQQDT_PREDEFINED

  • MQC.MQQDT_PERMANENT_DYNAMIC

  • MQC.MQQDT_TEMPORARY_DYNAMIC

InhibitGet

public int InhibitGet {get; set;}

Throws MQException.

get

Whether get operations are allowed for this queue.

Returns

The possible values are:

  • MQC.MQQA_GET_INHIBITED

  • MQC.MQQA_GET_ALLOWED

set

Controls whether get operations are allowed for this queue. The permissible values are:

  • MQC.MQQA_GET_INHIBITED

  • MQC.MQQA_GET_ALLOWED

InhibitPut

public int InhibitPut {get; set;}

Throws MQException.

get

Whether put operations are allowed for this queue.

Returns

One of the following:

  • MQC.MQQA_PUT_INHIBITED

  • MQC.MQQA_PUT_ALLOWED

set

Controls whether put operations are allowed for this queue. The permissible values are:

  • MQC.MQQA_PUT_INHIBITED

  • MQC.MQQA_PUT_ALLOWED

MaximumDepth

public int MaximumDepth {get;}

Throws MQException.

The maximum number of messages that can exist on the queue at any one time. An attempt to put a message to a queue that already contains this many messages fails with reason code MQException.MQRC_Q_FULL.

MaximumMessageLength

public int MaximumMessageLength {get;}

Throws MQException.

The maximum length of the application data that can exist in each message on this queue. An attempt to put a message larger than this value fails with reason code MQException.MQRC_MSG_TOO_BIG_FOR_Q.

NonPersistentMessageClass

public int NonPersistentMessageClass {get;}
The level of reliability for non persistent messages put to this queue.

OpenInputCount

public int OpenInputCount {get;}

Throws MQException.

The number of handles that are currently valid for removing messages from the queue. This is the total number of such handles known to the local queue manager, not just those created by the WebSphere MQ classes for .NET (using accessQueue).

OpenOutputCount

public int OpenOutputCount {get;}

Throws MQException.

The number of handles that are currently valid for adding messages to the queue. This is the total number of such handles known to the local queue manager, not just those created by the WebSphere MQ classes for .NET (using accessQueue).

QueueAccounting

public int QueueStatistics {get;}
Specifies whether the collection of accounting information is enabled for the queue.

QueueMonitoring

public int QueueMonitoring {get;}
Specifies whether monitoring is enabled for the queue.

QueueStatistics

public int QueueStatistics {get;}
Specifies whether collection of statistics is enabled for the queue.

QueueType

public int QueueType {get;}

Throws MQException

Returns

The type of this queue with one of the following values:

  • MQC.MQQT_ALIAS

  • MQC.MQQT_LOCAL

  • MQC.MQQT_REMOTE

  • MQC.MQQT_CLUSTER

Shareability

public int Shareability {get;}

Throws MQException.

Whether the queue can be opened for input multiple times.

Returns

One of the following:

  • MQC.MQQA_SHAREABLE

  • MQC.MQQA_NOT_SHAREABLE

TPIPE

public string TPIPE {get;}
The TPIPE name used for communication with OTMA via the WebSphere MQ IMS bridge.

TriggerControl

public int TriggerControl {get; set;}

Throws MQException.

get

Whether trigger messages are written to an initiation queue, to start an application to service the queue.

Returns

The possible values are:

  • MQC.MQTC_OFF

  • MQC.MQTC_ON

set

Controls whether trigger messages are written to an initiation queue to start an application to service the queue. The permissible values are:

  • MQC.MQTC_OFF

  • MQC.MQTC_ON

TriggerData

public String TriggerData {get; set;}

Throws MQException.

get

The free-format data that the queue manager inserts into the trigger message when a message arriving on this queue causes a trigger message to be written to the initiation queue.

set

Sets the free-format data that the queue manager inserts into the trigger message when a message arriving on this queue causes a trigger message to be written to the initiation queue. The maximum permissible length of the string is given by MQC.MQ_TRIGGER_DATA_LENGTH.

TriggerDepth

public int TriggerDepth {get; set;}

Throws MQException.

get

The number of messages that have to be on the queue before a trigger message is written when trigger type is set to MQC.MQTT_DEPTH.

set

Sets the number of messages that have to be on the queue before a trigger message is written when trigger type is set to MQC.MQTT_DEPTH.

TriggerMessagePriority

public int TriggerMessagePriority {get; set;}

Throws MQException.

get

The message priority below which messages do not contribute to the generation of trigger messages (that is, the queue manager ignores these messages when deciding whether to generate a trigger). A value of zero causes all messages to contribute to the generation of trigger messages.

set

Sets the message priority below which messages do not contribute to the generation of trigger messages (that is, the queue manager ignores these messages when deciding whether a trigger should be generated). A value of zero causes all messages to contribute to the generation of trigger messages.

TriggerType

public int TriggerType {get; set;}

Throws MQException.

get

The conditions under which trigger messages are written as a result of messages arriving on this queue.

Returns

The possible values are:

  • MQC.MQTT_NONE

  • MQC.MQTT_FIRST

  • MQC.MQTT_EVERY

  • MQC.MQTT_DEPTH

set

Sets the conditions under which trigger messages are written as a result of messages arriving on this queue. The possible values are:

  • MQC.MQTT_NONE

  • MQC.MQTT_FIRST

  • MQC.MQTT_EVERY

  • MQC.MQTT_DEPTH


csqzav0566