Table of Contents

Class EndpointConfig

Namespace: Apollo.Configuration
Assembly: Apollo.dll

public record EndpointConfig : IEquatable<EndpointConfig>

Inheritance

objectEndpointConfig

Implements

IEquatable<EndpointConfig>

Inherited Members

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

Extension Methods

EndpointConfigExtensions.ToPublishConfig(EndpointConfig)

Properties

AckStrategy

For Destrugter

public AckStrategy AckStrategy { get; set; }

Property Value

AckStrategy

AsyncMode

Not implemented yet

public bool AsyncMode { get; }

Property Value

bool

ConsumerName

Consumer name is required for durable subscriptions and load balancing

public string? ConsumerName { get; set; }

Property Value

string?

CreateMissingResources

Provides create/update/delete permissions for resources

public bool CreateMissingResources { get; set; }

Property Value

bool

EndpointName

Used to create a unique endpoint name if no subject is provided

public string? EndpointName { get; init; }

Property Value

string?

EndpointProvider

Optionally override the DI endpoint provider

public IEndpointProvider? EndpointProvider { get; set; }

Property Value

IEndpointProvider?

InstanceId

Defaults to ApolloConfig.InstanceId

public string? InstanceId { get; }

Property Value

string?

IsDurable

Indicates to the subscription provider that the endpoint should be created as a durable subscription

public bool IsDurable { get; set; }

Property Value

bool

Namespace

Optional namespace for isolation. Defaults to ApolloConfig.DefaultNamespace

public string? Namespace { get; set; }

Property Value

string?

Subject

The subject to use for the endpoint. If not provided, the endpoint name will be slugified. If neither are provided, the namespace will be used.

public string? Subject { get; set; }

Property Value

string?

SubscriptionProvider

Optionally override the DI subscription provider

public ISubscriptionProvider? SubscriptionProvider { get; set; }

Property Value

ISubscriptionProvider?