Page tree
Skip to end of metadata
Go to start of metadata

FIX Antenna Java can prevent counterparty from sending a huge amount of messages. FIX Antenna can control message flow and disconnect FIX session if it exceeds the threshold.

It needs to set few options in session configuration to enable and control throttling:

// Enables throttling checks mechanism
typethrottleCheckingEnabled=true


// Defines threshold for New Order messages
throttleChecking.D.threshold=5


// Checking timeframe size in milliseconds
throttleCheckingPeriod=1000

If the throttling mechanism is enabled, FIX session counts a number of messages by types during every timeframe, defined by throttleCheckingPeriod option. If during such period there are more messages, then defined in throttleChecking.MST_TYPE.threshold option, the session will be disconnected with a THROTTLING disconnect reason. Counterparty also receives a message like "Throttle checking exceeds the limit for msgType: D; 10/5"

  • No labels