...
- Use
PersistenceEnableFactory
for thestorageFactory
property. This factory allows using the Persistence API for storing a FIX session's state.PersistenceEnableFactory
is based onFilesystemStorageFactory
and delegates all operation Persistence API objects. Working with this API requires the implementation ofPersistentFactoryBuilder
. The last one should construct an instance ofPersistenceFactory
. - Define
ReplicatedPersistenceFactoryBuilder
like a factory builder forPersistenceEnableFactory
.ReplicatedPersistenceFactoryBuilder
implementsPersistentFactoryBuilder
and builds a replicated instance of the factory. It usesreplicationTimeout
options from the FIX antenna configs Antenna config (or from the session’sConfiguration
instance) to configure synchronous or asynchronous replication for the FIX session. - Define replication timeout in milliseconds. A zero value for this option will enable asynchronous replication for a FIX session.