2.2.2.19 QUEUE_STATE

The QUEUE_STATE enumeration defines values that indicate the status of an OutgoingQueue. The state of an OutgoingQueue is determined and managed by the message transfer process.

 typedef enum 
 {
   MQ_QUEUE_STATE_LOCAL_CONNECTION,
   MQ_QUEUE_STATE_DISCONNECTED,
   MQ_QUEUE_STATE_WAITING,
   MQ_QUEUE_STATE_NEEDVALIDATE,
   MQ_QUEUE_STATE_ONHOLD,
   MQ_QUEUE_STATE_NONACTIVE,
   MQ_QUEUE_STATE_CONNECTED,
   MQ_QUEUE_STATE_DISCONNECTING,
   MQ_QUEUE_STATE_LOCKED
 } QUEUE_STATE;

Used by:

The QUEUE_STATE is set to MQ_QUEUE_STATE_LOCAL_CONNECTION if the destination queue is local. Otherwise, enumeration values for QUEUE_STATE correspond to the enumeration values for OutgoingQueue.State, as shown in the following table:

QUEUE_STATE

OutgoingQueue.State

MQ_QUEUE_STATE_DISCONNECTED

Disconnected

MQ_QUEUE_STATE_WAITING

Waiting

MQ_QUEUE_STATE_NEEDVALIDATE

NeedValidation

MQ_QUEUE_STATE_ONHOLD

OnHold

MQ_QUEUE_STATE_NONACTIVE

Inactive

MQ_QUEUE_STATE_CONNECTED

Connected

MQ_QUEUE_STATE_DISCONNECTING

Disconnecting

MQ_QUEUE_STATE_LOCKED

Locked