corda.p2p.gateway
Configuration schema for the P2P gateway.
connectionConfig
- Controls the TCP connection pool to peer gateways.acquireTimeout
- Time (in seconds) after which a connection request will fail.
Minimum value: 1
Maximum value: 3000
Default value: 10connectionIdleTimeout
- Time (in seconds) after which an inactive connection in the pool will be released (closed).
Minimum value: 1
Maximum value: 3000
Default value: 60initialReconnectionDelay
- The initial time (in seconds) to wait before trying to reconnect.
Minimum value: 1
Maximum value: 3000
Default value: 1maxClientConnections
- Maximum size of the connection pool.
Minimum value: 1
Maximum value: 10000
Default value: 100maxReconnectionDelay
- The maximum time (in seconds) to delay before trying to reconnect.
Minimum value: 1
Maximum value: 3000
Default value: 16responseTimeout
- Time (in milli seconds) after which a message delivery is considered failed.
Minimum value: 100
Maximum value: 10000
Default value: 1000retryDelay
- Time (in milli seconds) after which a message is retried, when previously failed.
Minimum value: 100
Maximum value: 10000
Default value: 1000
hostAddress
- The host name or IP address where the HTTP server will bind.
Default value: 0.0.0.0
hostPort
- The HTTP port.
Maximum value: 65535
Default value: 8080
maxRequestSize
- The maximum request size accepted by the gateway, in bytes. Any requests crossing that threshold will be rejected.
Minimum value: 10000000
Default value: 500000000
sslConfig
- Used for TLS between Gateways.revocationCheck
- How to check for revocation of the TLS certificate.mode
This must be set to one of the following values:- SOFT_FAIL - The revocation check will succeed if the revocation status cannot be determined under certain circumstances. See java.security.cert.PKIXRevocationChecker.Option.SOFT_FAIL java doc for more details.
- HARD_FAIL - Opposite of SOFT_FAIL - i.e. most rigorous check. Among other things, this check requires that CRL checking URL is available on every level of certificate chain.
- OFF - Switch CRL check off.
Default value: SOFT_FAIL
tlsType
- What kind of TLS connections to establish between the gateways in our cluster and gateways in other clusters. This setting MUST be the same on all Gateways that need to communicate via HTTPS. This must be set to one of the following values:- ONE_WAY - Establishes a regular TLS connection, where the server gateway will be authenticated.
- MUTUAL - Establishes a mutual TLS connection, where both the server and client gateway are authenticated.
Default value: ONE_WAY
urlPath
- The url path the gateway server will be listening to.
Default value: /
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.