Table of Contents

Class SubscriptionConfig

Namespace: Apollo.Configuration
Assembly: Apollo.dll

public record SubscriptionConfig : IEquatable<SubscriptionConfig>

Inheritance

objectSubscriptionConfig

Implements

IEquatable<SubscriptionConfig>

Inherited Members

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

Properties

AckStrategy

public AckStrategy AckStrategy { get; set; }

Property Value

AckStrategy

ConsumerName

public required string ConsumerName { get; set; }

Property Value

string

CreateMissingResources

public bool CreateMissingResources { get; set; }

Property Value

bool

EndpointName

public string? EndpointName { get; init; }

Property Value

string?

EndpointType

public Type? EndpointType { get; set; }

Property Value

Type?

IsDurable

public required bool IsDurable { get; set; }

Property Value

bool

MessageTypes

public required Type[] MessageTypes { get; init; }

Property Value

Type[]

Namespace

public string? Namespace { get; set; }

Property Value

string?

Subject

public string? Subject { get; set; }

Property Value

string?

Methods

ForEndpoint(EndpointConfig, Type?, Type[]?)

public static SubscriptionConfig ForEndpoint(EndpointConfig endpointConfig, Type? endpointType = null, Type[]? messageTypes = null)

Parameters

endpointConfig EndpointConfig

endpointType Type?

messageTypes Type[]?

Returns

SubscriptionConfig