Class SubscriptionConfig
Namespace: Apollo.Configuration
Assembly: Apollo.dll
public record SubscriptionConfig : IEquatable<SubscriptionConfig>
Inheritance
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
ConsumerName
public required string ConsumerName { get; set; }
Property Value
CreateMissingResources
public bool CreateMissingResources { get; set; }
Property Value
EndpointName
public string? EndpointName { get; init; }
Property Value
EndpointType
public Type? EndpointType { get; set; }
Property Value
Type?
IsDurable
public required bool IsDurable { get; set; }
Property Value
MessageTypes
public required Type[] MessageTypes { get; init; }
Property Value
Type[]
Namespace
public string? Namespace { get; set; }
Property Value
Subject
public string? Subject { get; set; }
Property Value
Methods
ForEndpoint(EndpointConfig, Type?, Type[]?)
public static SubscriptionConfig ForEndpoint(EndpointConfig endpointConfig, Type? endpointType = null, Type[]? messageTypes = null)
Parameters
endpointConfig
EndpointConfig
endpointType
Type?
messageTypes
Type[]?