Table of Contents

Namespace AnyProtocol.Protocol.Abstraction

Classes

DeadLetterEnvelope

Contains sanitized dead-letter metadata and an optional retained body.

DeadLetterEnvelopeFactory

Produces dead-letter envelopes with an explicit metadata allowlist and secure body defaults.

DefaultMessageHeaderSanitizer

Default case-insensitive credential classifier for framework and common HTTP credentials.

MessageAdmissionRejectedException

Signals that a subscription callback lost the shutdown admission race. Durable transports should leave the message uncommitted or negatively acknowledge it for redelivery rather than treating it as a handler failure.

SubscriptionOptions

Configures how a message subscription consumes and groups messages.

TransportSemantics

Defines the observable delivery and flow-control behavior of a messaging transport.

Structs

ProtocolKey

Identifies a configured protocol instance. Values are normalized so keys are case-insensitive while still allowing custom and multiple protocol instances.

TransportReadinessResult

Contains the outcome of transport readiness processing.

Interfaces

IDeadLetterEnvelopeFactory

Creates a provider-neutral, sanitized dead-letter envelope.

IDeadLetterTransport

Defines operations for dead letter transport.

IMessageHeaderSanitizer

Classifies message header names that must not cross a dead-letter trust boundary.

IMessagingProtocol

Defines the common lifecycle and capability metadata for a messaging transport. Operation-specific contracts are exposed through capability interfaces such as ISendTransport and ISubscriptionTransport.

IMethodAwareMessagingProtocol

Defines messaging operations that receive the logical contract method metadata.

IMethodAwareRequestReplyTransport

Defines native request-reply operations that receive contract method metadata.

INativeServerTransport

Defines operations for native server transport.

IRequestReplyTransport

Defines the capability to perform native request/reply operations.

ISendTransport

Defines the capability to send envelopes to logical channels.

IStreamingTransport

Defines the capability to perform native streaming operations.

ISubscriptionTransport

Defines the capability to subscribe to envelopes from logical channels.

ITransportReadiness

Provides a non-destructive readiness assessment for a messaging transport. Implementations must not publish, consume, or mutate application messages.

ITransportSubscription

Controls intake and disposal of one transport subscription independently.

Enums

DeadLetterBodyPolicy

Controls how a failed message body is retained in a dead-letter record.

TransportCapabilities

Identifies optional capabilities supported by a messaging transport.

TransportDeliveryGuarantee

Describes when a transport considers a send complete.

TransportDurability

Describes whether accepted messages survive process or broker restarts.

TransportOrdering

Describes the ordering boundary guaranteed by a transport.

TransportReadinessState

Identifies the available transport readiness values.