Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DispatchEndpoint

Represents an endpoint for a service in the dispatcher. Exposes configuration options for the endpoint.

Hierarchy

  • DispatchEndpoint

Index

Constructors

constructor

Properties

address

address: Url

The base address for the endpoint.

contractName

contractName: string

The name of the service contract handled by the endpoint.

errorHandlers

errorHandlers: ErrorHandler[]

A list of error handlers for this endpoint.

faultFormatter

faultFormatter: FaultFormatter

The object responsible for formatting errors.

filter

Filter used to identify a Message as available to be processed by the endpoint.

filterPriority

filterPriority: number

Indicates the priority of the endpoint if more than one endpoint can process the message. A higher value indicates a higher priority. If all endpoints have the same priority then the first matching endpoint is used.

includeErrorDetailInFault

includeErrorDetailInFault: boolean

Specifies whether to include the error message and stack trace in faults created from errors. This should not be turned on in production.

messageInspectors

messageInspectors: MessageInspector[]

A list of message inspectors for this endpoint.

operationSelector

operationSelector: OperationSelector

An object that chooses which DispatchOperation will be invoked for the Message.

operations

operations: DispatchOperation[]

A list of operations available for the endpoint.

service

unhandledOperation

unhandledOperation: DispatchOperation

A DispatchOperation which is invoked for the OperationSelector is unable to choose the appropriate DispatchOperation.

Methods

chooseOperation

validate

  • validate(): void

Generated using TypeDoc