Child pages
  • Configuring Session Failover

Versions Compared

Key

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

...

The following configuration shows how to configure multiple initiator
connections.

Code Block
[qfjdev:default]
FileStorePath=examples/target/data/banzai
BeginString=FIX.4.2
ConnectionType=initiator
StartTime=00:00:00
EndTime=00:00:00
HeartBtInt=30
ReconnectInterval=5

[qfjdev:session]
SenderCompID=BANZAI
TargetCompID=EXEC
SocketConnectHost=localhost
SocketConnectPort=9876
SocketConnectHost1=localhost
SocketConnectPort1=9877

...

If you are running the acceptors on separate hosts, you could use the
following configuration file on each host. If you are configuring redundant
acceptors on the same host, you'll need to provide unique accept ports.

Code Block
[qfjdev:default]
# JDBC store configuration, for example ...
BeginString=FIX.4.2
ConnectionType=acceptor
StartTime=00:00:00
EndTime=00:00:00
HeartBtInt=30
SocketAcceptPort=9877

[qfjdev:session]
SenderCompID=EXEC
TargetCompID=BANZAI
RefreshOnLogon=Y