Table of Contents

Class TransportBinding

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

Default implementation of a transport binding.

public sealed class TransportBinding : ITransportBinding
Inheritance
TransportBinding
Implements
Inherited Members
Extension Methods

Constructors

TransportBinding(string, ITransportAdapter, string, IPipelineProfile?, MessageKinds, int)

Initializes a new instance of the TransportBinding class. Creates a new transport binding.

public TransportBinding(string name, ITransportAdapter transportAdapter, string endpointPattern, IPipelineProfile? pipelineProfile = null, MessageKinds acceptedMessageKinds = MessageKinds.All, int priority = 0)

Parameters

name string
transportAdapter ITransportAdapter
endpointPattern string
pipelineProfile IPipelineProfile
acceptedMessageKinds MessageKinds
priority int

Properties

AcceptedMessageKinds

Gets the message kinds this binding accepts.

public MessageKinds AcceptedMessageKinds { get; }

Property Value

MessageKinds

The accepted message kinds.

EndpointPattern

Gets the endpoint pattern this binding matches.

public string EndpointPattern { get; }

Property Value

string

The endpoint pattern expression.

Name

Gets the unique name of this binding.

public string Name { get; }

Property Value

string

The identifier assigned to the binding.

PipelineProfile

public IPipelineProfile? PipelineProfile { get; }

Property Value

IPipelineProfile

Priority

Gets the priority of this binding for ordering.

public int Priority { get; }

Property Value

int

The numeric priority used for ordering bindings.

TransportAdapter

Gets the transport adapter this binding uses.

public ITransportAdapter TransportAdapter { get; }

Property Value

ITransportAdapter

The adapter handling transport operations.

Methods

Matches(string)

public bool Matches(string endpoint)

Parameters

endpoint string

Returns

bool