Class EndpointConfig
Namespace: Apollo.Configuration
Assembly: Apollo.dll
public record EndpointConfig : IEquatable<EndpointConfig>
Inheritance
Implements
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
AsyncMode
Not implemented yet
public bool AsyncMode { get; }
Property Value
ConsumerName
Consumer name is required for durable subscriptions and load balancing
public string? ConsumerName { get; set; }
Property Value
CreateMissingResources
Provides create/update/delete permissions for resources
public bool CreateMissingResources { get; set; }
Property Value
EndpointName
Used to create a unique endpoint name if no subject is provided
public string? EndpointName { get; init; }
Property Value
EndpointProvider
Optionally override the DI endpoint provider
public IEndpointProvider? EndpointProvider { get; set; }
Property Value
InstanceId
Defaults to ApolloConfig.InstanceId
public string? InstanceId { get; }
Property Value
IsDurable
Indicates to the subscription provider that the endpoint should be created as a durable subscription
public bool IsDurable { get; set; }
Property Value
Namespace
Optional namespace for isolation. Defaults to ApolloConfig.DefaultNamespace
public string? Namespace { get; set; }
Property Value
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
SubscriptionProvider
Optionally override the DI subscription provider
public ISubscriptionProvider? SubscriptionProvider { get; set; }