WebSphere MQ Adapter 6.5 | webMethods WebSphere MQ Adapter Documentation | webMethods WebSphere MQ Adapter Installation and User’s Guide Documentation | WebSphere MQ Adapter Administrator APIs | WebSphere MQ Adapter Administrator APIs
 
WebSphere MQ Adapter Administrator APIs
The Administrator APIs are available for WebSphere MQ Adapter. For more information, see webMethods Adapter Runtime User's Guide.
.
Sample Template for creating Connections:
{
"connectionAlias": "Connection alias",
"adapterTypeName": "wmMQAdapter",
"connectionFactoryType": "com.wm.adapter.wmmqadapter.connection.wmMQConnectionFactory",
"packageName": "package name",
"connectionSettings": {
"sslKeyStoreAlias": "",
"sslKeyStorePassword": "",
"sslKeyStore": "",
"sslCipherSpec": "",
"sslOptions": "",
"sslTrustStoreAlias": "",
"cacheOverriddenConnections": true,
"securityExitInit": "",
"securityExit": "",
"recvExitInit": "",
"recvExit": "",
"sendExitInit": "",
"sendExit": "",
"encoding": "00273-Native",
"dynamicQueuePrefix": "",
"queueName": "Queue_02",
"password": "password",
"userId": "username",
"CCSID": "CP819",
"channel": "C1",
"port": "7200",
"hostName": "Hostname",
"queueManagerName": "QM1",
"ccdtFilePath": ""
},
"connectionManagerSettings": {
"poolable": "true",
"minimumPoolSize": "1",
"maximumPoolSize": "10",
"poolIncrementSize": "1",
"blockingTimeout": "1000",
"expireTimeout": "1000",
"startupRetryCount": "0",
"startupBackoffSecs": "10"
}
}
For Listeners operations: Sample Template for MQ Adapter
{
"listenerName": "listener name",
"packageName": "package name",
"connectionAlias": "MQAdapter:con_mq22",
"listenerTemplate": "com.wm.adapter.wmmqadapter.connection.wmMQListener",
"listenerEnabled": "false",
"listenerSettings": {
"retryBackoffTimeout": 10,
"retryLimit": 5,
"useGrouping": false,
"convertDataOption": true,
"sharedMode": true,
"deadLetterMessageHeaders": "DLH_&_MQMD",
"backoutThreshhold": 1,
"deadLetterQueueManager": "",
"deadLetterQueue": "",
"handleBackoutRequeue": false,
"filterOffset": "",
"filterSequenceNumber": "",
"filterGroupId": "",
"filterCorrelId": "",
"filterMsgId": "",
"waitInterval": 60000
}
}