...
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
{
"Region": "your region", /*Environment name for which this config is defined */
"Connections": [
{
"ConnectionName": "default.wmq.connection", /* connection name */
"ComponentName": "wmq", /* name of component */
"Parameters": {
"transportType": 1, /* sets the transport type */
"port": 1414, /* sets the port for a client connection */
"channel": "S_eglwwvm24c", /* sets the name of the channel - applies to client transport mode only */
"queueManager": "QM_eglwwvm24c", /* sets the name of the queue manager */
"HostName": "1.2.3.4" /* Sets the name of the host (or IP) */
, "ClientID": "enterprise" /* optional: sets the client ID */
, "CCSID": 1 /* optional: sets the character set to be used when connecting to the queue manager */
, "clientReconnectTimeout": 10 /* optional: set the amount of time, in seconds, that a client connection will attempt to reconnect */
}
}
]
} |
To add additional parameters/properties:
- go to official IBM WebSphere MQ documentation (https://www.ibm.com/support/knowledgecenter/SSFKSJ_7.1.0/com.ibm.mq.javadoc.doc/WMQJMSClasses/com/ibm/mq/jms/MQConnectionFactory.html)
- choose public methods whose names start from set**() and accept one single parameter (String, int, long or short type)
- set prefix in the name can be omitted