Currently, we ship and always use by default a RequestReplyClient implementation based on OkHttp. We'd like to allow users to use their own implementations of the RequestReplyClient for remote invocations. This is strictly for extending the means of transport, and should not leave room to touch the invocation protocol.
The way this would look like in the module YAML files for remote modules would be:
The important part is the transport section. If not specified, then the default OkHttp implementation will be used. Otherwise, if specified, an extension with the specified typename must be bound and exist in the application, and that extension needs to be a RequestReplyClientFactory:
The provided JSON node properties will be as is provided in the transport block of the module YAML endpoint specification.