Table 4: Configuration Options Configuration Setting | Usage |
---|
HAPolicy | StateReplication. Indicates that state replication should be used. | MessageSendPolicy | Must be set to ReplicateBeforeSend, SendBeforeReplicate is not supported when using state replication, as state and outbound messages need to be replicated to backups to avoid inconsistency. | ReplicationPolicy | Asynchronous|Pipelined In Asynchronous mode, replicated state does not wait for acknowledgement from peers or flush to persistent storage. Pipelined mode ensures that data is acknowledged by peers and flushed to disk (if persistence is configured) | Store | The name of the store to use. This must be supplied to enable Persistence or if StateReplication is to be used. The store implementation handles replicating state to cluster peers and (optionally) persistence of the state. | ReplicateUnsolicitedSends | True|False An unsolicited send is one that is not initiated from a message handler. In an app that acts purely as a sender, this should be set to true to replicate both the sent application messages and the updates to state not done by a message handler. |
|