Skip to content

Latest commit

 

History

History
 
 

ViennaNET.Messaging.MQSeriesQueue

The assembly providing work with the IBM MQ Series queue


Classes

  • 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
            } 
          ] 
        }

Message header features

Listening mode (processingType)

  • Transactions are only supported in ThreadStrategy mode.
  • If transactions are disabled (transactionEnabled == false), then it can use both ThreadStrategy and the subscription mode (Subscribe).