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:
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"