Class TcpConnectionFactory

Namespace: redb.Route.Tcp
Assembly: redb.Route.Tcp.dll

Named connection factory for TCP. Register it in the route registry and reference it by name
from the endpoint URI (connectionFactory=my-tcp) so the TLS certificate password never
has to appear in the URI, and therefore can never reach logs, telemetry, or the dashboard.

The listen/target address stays in the endpoint path — a factory carries TLS material and
timeouts only and can never silently redirect a route.

public sealed class TcpConnectionFactory

Inheritance

Object→TcpConnectionFactory

Properties

ClientCertPassword

Password for .

public string? ClientCertPassword { get; set; }

ClientCertPath

Producer only: PFX client certificate for a server that requires mTLS.

public string? ClientCertPath { get; set; }

ConnectTimeout

Connect timeout in milliseconds.

public int ConnectTimeout { get; set; }

Ssl

Serve/connect over TLS.

public bool Ssl { get; set; }

SslCertPassword

Password for the PFX certificate.

public string? SslCertPassword { get; set; }

SslCertPath

Path to the PFX certificate.

public string? SslCertPath { get; set; }

SslTargetHost

Expected TLS target host name (SNI / certificate validation).

public string? SslTargetHost { get; set; }

TrustAllCertificates

Producer only: accept any server certificate, including a self-signed one.

public bool TrustAllCertificates { get; set; }