corda.flow

Configuration schema for the flow section.
event
- Settings for external events within a flow.maxRetries
- The maximum number of times Corda retries a request before returning an exception.
Maximum value: 2147483647
Default value: 5messageResendWindow
- The length of time in milliseconds that Corda waits before resending unprocessed external events.
Minimum value: 1000
Maximum value: 2147483647
Default value: 60000
processing
- Settings for flow pipeline processing.cleanupTime
- The length of time in milliseconds that the flow mapper holds onto its state for a flow that has finished. This value should be at least 2 times larger than the session.p2pTTL.
Minimum value: 1000
Maximum value: 2147483647
Default value: 600000maxFlowSleepDuration
- The maximum delay in milliseconds before Corda schedules a periodic wake-up.
Minimum value: 1000
Maximum value: 2147483647
Default value: 900000maxRetryAttempts
- The maximum number of times Corda retries a transient error before failing the flow. A value of zero disables retries.
Maximum value: 1000
Default value: 5maxRetryDelay
- The maximum delay in milliseconds before Corda schedules a retry.
Minimum value: 1000
Maximum value: 2147483647
Default value: 16000
session
- Settings for flow sessions.cleanupTime
- The length of time in milliseconds that the flow mapper holds onto its state for a session after the session has finished. This value should be at least 2 times larger than the session.p2pTTL
Minimum value: 10000
Maximum value: 2147483647
Default value: 600000heartbeatTimeout
- The length of time in milliseconds that Corda waits when no message has been received from a counterparty before causing the session to error. This should be set at least 2 times larger than session.messageResendWindow.
Minimum value: 1000
Maximum value: 2147483647
Default value: 1800000messageResendWindow
- The length of time in milliseconds that Corda waits before resending unacknowledged flow session messages.
Minimum value: 1000
Maximum value: 2147483647
Default value: 120000missingCounterpartyTimeout
- The length of time in milliseconds to wait when the counterparty can't be found in a member lookup before causing the session to error
Minimum value: 1000
Maximum value: 2147483647
Default value: 300000p2pTTL
- The TTL set in milliseconds. This is added to the current time and set on messages passed to the P2P layer to send to a counterparty. Messages received with a TTL timestamp set in the past will be discarded.
Minimum value: 10000
Maximum value: 2147483647
Default value: 300000
Was this page helpful?
Thanks for your feedback!
Chat with us
Chat with us on our #docs channel on slack. You can also join a lot of other slack channels there and have access to 1-on-1 communication with members of the R3 team and the online community.
Propose documentation improvements directly
Help us to improve the docs by contributing directly. It's simple - just fork this repository and raise a PR of your own - R3's Technical Writers will review it and apply the relevant suggestions.
We're sorry this page wasn't helpful. Let us know how we can make it better!
Chat with us
Chat with us on our #docs channel on slack. You can also join a lot of other slack channels there and have access to 1-on-1 communication with members of the R3 team and the online community.
Create an issue
Create a new GitHub issue in this repository - submit technical feedback, draw attention to a potential documentation bug, or share ideas for improvement and general feedback.
Propose documentation improvements directly
Help us to improve the docs by contributing directly. It's simple - just fork this repository and raise a PR of your own - R3's Technical Writers will review it and apply the relevant suggestions.