0

I am using quick fix protocol, If my log in (start in SocketInitiator) get reject the fix protocol try to connect again and again every 5 sec (using "ReconnectInterval"), Is there a way to make the reconnect not in a equal intervals? for example try to connect three times every 5 SEC and then every 1 MIN?

Ggdw
  • 2,509
  • 5
  • 24
  • 22

1 Answers1

1

If I read the sourecode of AbstractSocketInitiator and SessionSettings correctly, you can simply specify the reconnect interval setting with semi-colon separated values: eg. "5;5;5;60" means, first three retries after 5 seconds, next retries after 60 seconds.

Note: please add links to the used framework, a made just assumption.

burna
  • 2,932
  • 18
  • 27
  • It appears your answer is for QuickFIX/J, the Java port. I don't know if plain C++ QuickFIX supports this, and I'm pretty sure that QuickFIX/n (C#) doesn't. – Grant Birchmeier Jan 01 '13 at 20:36