Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info
Assuming that the configuration is working and there have been no recent changes in the configuration that may lead to the failure.

Failure scenarios

Image Added

A detailed description of the failures are described below

...

It is not recommended to use logic for sending messages in the same session again if the first attempt has failed and the OnUndeliveredMessageEvent event is called.

MQ TA Configuration

Property 

Description 

Required 

Default value 

TransportLayer.TransportAdapters

The list of user-defined Transport Adapter names. The several instances should be separated by a comma.

The following configuration will show configuration parameters for an adapter with the name TransportLayer.MQAdaptor, i.e.:

Info
TransportLayer.TransportAdapters = TransportLayer.RestOutTA


MQ parameters 




TransportLayer.MQAdaptor.NumAttemptReconnect

(deprecated) Defines a number of reconnection attempts if MQ Server not available.

The value of -1 means for unlimited reconnection attempts.

Info

Should be always -1


-1

TransportLayer.MQAdaptor.TimeIntervalBeforeReconnect

Time interval in milliseconds between reconnection attempts
1000

Transaction parameters 




TransportLayer.MQAdaptor.UseTransactions 

Enables/disables transactions mode:

  • false – disable batch sending in a single transaction
  • true – enables transactions, messages are sent as batches. Unsuccessful delivery results with a new attempt to send the whole batch.

No

false

TransportLayer.MQAdaptor.Session.<N>.ReceiveTransactionSize

The maximum number of messages the batch for receiving from the MQ Server in a single transaction. Should be positive.
The bigger value increases performance.

Required if UseTransactions is set to 'true'

10

TransportLayer.MQAdaptor.Session.<N>.SendTransactionSize

The maximum number of messages the batch for sending to the MQ Server in a single transaction. Should be positive.Required if UseTransactions is set to 'true'10