Table of Contents

Class TransportSecurityOptions

Namespace
Excalibur.Dispatch.Transport
Assembly
Excalibur.Dispatch.Transport.Abstractions.dll

Configuration options for transport security.

public sealed class TransportSecurityOptions
Inheritance
TransportSecurityOptions
Inherited Members
Extension Methods

Remarks

Transport security is enforced at connection time rather than per-message to minimize overhead.

Certificate material, TLS version floors, and peer-verification behavior are configured on the underlying transport client rather than here, because the broker SDK owns the TLS handshake. Set them through the transport's own configuration - for example the Kafka producer configuration's SSL certificate, key, and CA settings, or the RabbitMQ connection factory's SSL options.

Properties

RequireTls

Gets or sets a value indicating whether TLS is required for the transport connection.

public bool RequireTls { get; set; }

Property Value

bool

True to require TLS; false to allow non-TLS connections. Default is true.

Remarks

When set to true (default), the transport will throw a TransportSecurityException at connection time if TLS cannot be verified.

SECURITY WARNING: Setting this to false allows plaintext communication which may expose sensitive data. Only disable for development/testing environments.