In FIX Antenna C++ and FIXEdge there is an option to reject messages that should be routed into the session, which exists, but currently isn't available (i.e., it can be acceptor's session, which is waiting for incoming connection, or initiator's session in reconnecting or initial state; logs for this session should exist).
In order to configure it you should use RejectMessageWhileNoConnection parameter in the engine.properties file or in the FixEdge.properties file. This parameter can be set for each session individually in the FixEdge.properties file.
The default value of this parameter is "false".
if RejectMessageWhileNoConnection = false, then each message, that should be routed to the unavailable session, will be stored in the *.out log of this session and will be resent when the session connects.
If you want that messages will be resent after each terminate you should configure the following parameters:
- if RejectMessageWhileNoConnection = true, then each message, that should be routed to the unavailable session, will be stored in the *.out log of this session and will be resent if the session connects during the MessageTimeToLive interval. But if the MessageTimeToLive interval had been elapsed before the session connected, then such messages will be substituted with the Heartbeat messages, and when the session connects, these message will not be resent in response to ResendRequest message.
The default value of this parameter is 500.
This event will be fired if RejectMessageWhileNoConnection parameter for the session is set to true only.