Queue Manager attributes

Queue Managers have a number of attributes, which are listed below. Information about these attributes is passed either via API parameters or configuration structures/MQeFields objects.

The first list shows all the possible queue manager attributes and indicates which are available in the code bases.

Table 11. Queue Manager attributes

Attribute Description Java Native Read/Write
Bridge Capable Determines if the queue manager has MQBridge functionality Yes Yes (but always false) Read
Channel Attribute Rule The attribute rule to be used by this queue manager's channels Yes No Read/Write
Channel Timeout The timeout to be used by this queue manager's outgoing channels Yes Yes Read/Write
Communications Listeners The list of listeners defined on this queue manager Yes No Read
Connections The list of connections known by this queue manager Yes Yes Read
Description A free-format textual description of this queue manager. Yes Yes Read/Write
Maximum Transmission Threads The maximum number of background transmission threads supported by this queue manager. Yes No Read/Write
Queues The list of queues owned by this queue manager Yes Yes Read
Queue Store The location where this queue manager will store its queues Yes Yes Read/Write
Qmgr Rules The rules class which will be used by this queue manager Yes Yes Read/Write

Java

The parameters in Java are passed in using MQeFields objects. The values are passed using field elements of specific types.

The field names are as follows. All the symbolic names are pubic static final static strings in the MQeQueueManagerAdminMsg class.

Table 12. Java Parameters passed in using MQeFields

Element type Field name constants
Symbolic Value
boolean QMgr_BridgeCapable bridge_capable
ASCII QMgr_ChnlAttrRules chnlattrrules
long QMgr_ChnlTimeout chnltimeout
fields array QMgr_CommsListeners commsls
fields array QMgr_Connections conns
Unicode QMgr_Description desc
int QMgr_Maximum
TransmissionThreads
maximumTransmissionThreads
fields array
Each element contains a fields object containing {QMgr_QueueName, QMgr_QueueQMgrName, QMgr_QueueType}
QMgr_Queues queues
ASCII QMgr_QueueStore queueStore
ASCII QMgr_Rules rules

C parameters

All the C parameters are passed in using a parameter structure. This structure needs to be initialized before it can be used - set it to QMGR_INIT_VAL.

Table 13. Parameter structures for C

Element Type Element Name Notes
MQEINT32 opFlags Flags to indicate what parts of this structure have been set/requested
MQeStringHndl hDescription
MQeStringHndl hQueueManagerRules
MQEINT64 channelTimeOut
MQeStringHndl hQueueStore
MQeVectorHndl hQueues
MQeVectorHndl hConnections
MQEBOOL bridgeCapable Valid values {MQE_TRUE, MQE_FALSE}



© IBM Corporation 2002. All Rights Reserved