- MqSeriesQueueConfiguration - Advanced configuration for the IBM MQSeries adapter.
- MqSeriesQueueMessageAdapter - Provides direct interaction with IBM MQSeries queues.
- MqSeriesQueueMessageAdapterConstructor - Creates instances MqSeriesQueueMessageAdapter.
Section in the configuration file:
"mqseries": {
"queues": [
{
"id": "<queue identifier>", // usually the queue name is specified
"processingtype": "<processing type to listen on the queue>", // one of the values of MessageProcessingType
"server": "<queue server>",
"port": "<queue connection port>",
"queuename": "<queue name>",
"user": "<login to connect to the queue>",
"password": "password to connect to the queue",
"clientId": "<client id to queue>",
"queue": "<queue name in the queue broker>",
"queueManager": "<queue broker name>",
"channel": "<connection channel name>",
"queueString": "<queue connection string>",
"transactionEnabled": "<transaction mode use flag true | false>",
"useQueueString": "<use flag to connect the queueString field true | false>",
"replyQueue": "<name of the queue for receiving messages>",
"lifetime": "<lifetime of messages in TimeSpan format>",
"timeout": "<timeout of operations in TimeSpan format>",
"customHeaders": {"values": []} // additional headers for working with queues
}
]
}
- Headings must not contain a character as a separator "-". https://stackoverflow.com/questions/50608415/cwsia0112e-the-property-name-keep-alive-is-not-a-valid-java-identifier https://www.ibm.com/support/knowledgecenter/SSFKSJ_7.5.0/com.ibm.mq.dev.doc/q022940_.htm
- Transactions are only supported in ThreadStrategy mode.
- If transactions are disabled (transactionEnabled == false), then it can use both ThreadStrategy and the subscription mode (Subscribe).