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: 5
    • messageResendWindow - The length of time in milliseconds that Corda waits before resending unprocessed external events.
      Minimum value: 100
      Maximum value: 2147483647
      Default value: 5000
  • 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.
      Minimum value: 10000
      Maximum value: 2147483647
      Default value: 480000
    • maxFlowSleepDuration - The maximum delay in milliseconds before Corda schedules a periodic wake-up.
      Minimum value: 1000
      Maximum value: 2147483647
      Default value: 60000
    • maxRetryAttempts - 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: 5
    • maxRetryDelay - 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.
      Minimum value: 10000
      Maximum value: 2147483647
      Default value: 480000
    • heartbeatTimeout - The length of time in milliseconds that Corda waits when no message has been received from a counterparty before causing the session to error.
      Minimum value: 600000
      Maximum value: 2147483647
      Default value: 3600000
    • messageResendWindow - The length of time in milliseconds that Corda waits before resending unacknowledged flow session messages.
      Minimum value: 1000
      Maximum value: 2147483647
      Default value: 120000
    • p2pTTL - 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.
      Minimum value: 10000
      Maximum value: 2147483647
      Default value: 240000

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.