WebSphere MQ JMS Resource configuration
Queue Connection Factories
Multiple queue connection factories can be configured using "_1" to "_n" where n is the number of Queue Connection Factories to configure:
#--------------------------------- # QCF 1 "QCF.MaintMgrRequest" Defs #--------------------------------- queueConnectionFactoryName_1 = "MQ.MaintMgrRequestCF.DevTst01" pollingInterval_1 = "100" tempQueuePrefix_1 = "" localAddress_1 = "" connectionPool_1 = "10" QCFCCSID_1 = "819" channel_1 = "" host_1 = "" port_1 = "" transportType_1 = "BINDINGS" rescanInterval_1 = "100" tempModel_1 = "SYSTEM.DEFAULT.MODEL.QUEUE" msgRetention_1 = "true" queueManager_1 = "QDOCS001" agedTimeoutMQ_1 = 0 queueConnectionFactoryJndiName_1 = "jms/MQ.MaintMgrRequestCF.DevTst01" # (Optional)
In case you want to create a QCF configured to use a Client Channel Definition Table you need to declare the following variable set to the value of the Client Channel Definition Table URL:
ccdtUrl_1="http://localhost"
If you set this variable it is assumed you want the Client Channel Definition Table option and the variables channel_1, host_1 and port_1 will be ignored.
Queues
Multiple queues can be configured using "_1" to "_n" where n is the number of Queues to configure:
#--------------------------------- # QUEUE 1 "Q.MaintMgrRequest #--------------------------------- queueName_1 = "MQ.MaintMgrRequestQ.DevTst01" CCSID_1 = "819" persistence_1 = "APPLICATION_DEFINED" targetClient_1 = "JMS" baseQueueName_1 = "OCIS_JAVA_MAINTMGR" specifiedExpiry_1 = 0 expiry_1 = "APPLICATION_DEFINED" baseQueueManagerName_1 = "QDOCS001" decimalEncoding_1 = "Normal" specifiedPriority_1 = "6" priority_1 = "APPLICATION_DEFINED" messageBody_1 = "JMS" # Default to: 'UNSPECIFIED' - Possible values: 'UNSPECIFIED', 'JMS' or 'MQ' queueJndiName_1 = "jms/MQ.MaintMgrRequestQ.DevTst01" # (Optional)
Activation Specifications
Multiple Activation Specifications can be configured using "_1" to "_n" where n is the number of Activation Specifications to configure:
#--------------------------------- # ACTIVATION SPECIFICATION 1 #--------------------------------- # To enable the MQ Activation Specifications installation installMqActivationSpec="true" # MQ Activation Specification attributes WMQActivationSpecName_1="MQActivationSpecTest" WMQActivationSpecJNDIName_1="wmqa/MQActivationSpecTest" WMQActivationSpecType_1="javax.jms.Queue" # Possible values: 'javax.jms.Queue' (by default) or 'javax.jms.Topic' WMQActivationSpecDest_1="MQActivationSpecDest" WMQActivationSpecDescription="MQActivationSpec description." WMQSubscriptionDurability="Nondurable" # Possible values: 'Nondurable' (by default) or 'Durable' WMQSubscriptionName="MQActivationSpecSubscriptionName" WMQManagerName="QDOCS001" WMQTransportType="BINDINGS_THEN_CLIENT" # Possible values: 'BINDINGS_THEN_CLIENT' (by default), 'BINDINGS' or 'CLIENT'. WMQHostname="localhost" WMQPortNumber=1414 # Value by default. WMQSvrconnChannel="CHANNEL_1" WMQUseSSL="false" # (by default) WMQSSLConfiguration="CENTRAL" # Possible values: "CENTRAL" or the specific configuration name.
In order to create or modify MQ Activation Specifications custom properties you need to declare the property with the prefix "WMQASProp_" and the suffix "_n" depending on the number of the MQ Activation Specification. As an example here's a list of properties:
WMQASProp_CCSID_1="819" WMQASProp_acknowledgeMode_1="1" WMQASProp_arbitraryProperties_1="was_stopEndpointIfDeliveryFails='true',was_failureDeliveryCount=0,sslType='NONE',sslConfiguration=''" WMQASProp_brokerCCDurSubQueue_1="SYSTEM.JMS.D.CC.SUBSCRIBER.QUEUE" WMQASProp_brokerCCSubQueue_1="SYSTEM.JMS.ND.CC.SUBSCRIBER.QUEUE" WMQASProp_brokerControlQueue_1="SYSTEM.BROKER.CONTROL.QUEUE" WMQASProp_brokerSubQueue_1="SYSTEM.JMS.ND.SUBSCRIBER.QUEUE" WMQASProp_brokerVersion_1="1" WMQASProp_channel_1="SYSTEM.DEF.SVRCONN" WMQASProp_cleanupInterval_1="3600000" WMQASProp_cleanupLevel_1="SAFE" WMQASProp_cloneSupport_1="DISABLED" WMQASProp_destination_1="SYSTEM.DEFAULT.LOCAL.QUEUE" WMQASProp_destinationType_1="javax.jms.Queue" WMQASProp_failIfQuiesce_1="true" WMQASProp_headerCompression_1="NONE" WMQASProp_hostName_1="localhost" WMQASProp_maxPoolDepth_1="10" WMQASProp_messageCompression_1="NONE" WMQASProp_messageSelection_1="CLIENT" WMQASProp_messageSelector_1="" WMQASProp_poolTimeout_1="300000" WMQASProp_port_1="1414" WMQASProp_queueManager_1="" WMQASProp_rescanInterval_1="5000" WMQASProp_sparseSubscriptions_1="FALSE" WMQASProp_sslResetCount_1="0" WMQASProp_startTimeout_1="10000" WMQASProp_statusRefreshInterval_1="60000" WMQASProp_subscriptionDurability_1="NonDurable" WMQASProp_subscriptionName_1="" WMQASProp_subscriptionStore_1="MIGRATE" WMQASProp_transportType_1="CLIENT" WMQASProp_useJNDI_1="false"