Table of Contents

Struct MessageBrokerClientBindingListenerEvent

Namespace
LfrlAnvil.MessageBroker.Client.Events
Assembly
LfrlAnvil.MessageBroker.Client.dll

Represents an event emitted by MessageBrokerClient related to binding a listener.

public readonly struct MessageBrokerClientBindingListenerEvent
Inherited Members

Properties

AreAcksEnabled

Specifies whether the listener has ACKs enabled.

public bool AreAcksEnabled { get; }

Property Value

bool

ChannelName

Channel's name.

public string ChannelName { get; }

Property Value

string

CreateChannelIfNotExists

Specifies whether the server should create the channel if it does not exist yet.

public bool CreateChannelIfNotExists { get; }

Property Value

bool

DeadLetterCapacityHint

How many messages will be stored at most by the dead letter.

public int DeadLetterCapacityHint { get; }

Property Value

int

FilterExpression

Listener's server-side message filter expression.

public string? FilterExpression { get; }

Property Value

string

IsEphemeral

Specifies whether the listener will be ephemeral.

public bool IsEphemeral { get; }

Property Value

bool

MaxRedeliveries

Listener's max redeliveries count.

public int MaxRedeliveries { get; }

Property Value

int

MaxRetries

Listener's max retries count.

public int MaxRetries { get; }

Property Value

int

MinAckTimeout

Listener's min ACK timeout.

public Duration MinAckTimeout { get; }

Property Value

Duration

MinDeadLetterRetention

Retention period for messages stored in the dead letter.

public Duration MinDeadLetterRetention { get; }

Property Value

Duration

PrefetchHint

Listener's prefetch hint.

public short PrefetchHint { get; }

Property Value

short

QueueName

Queue's name.

public string QueueName { get; }

Property Value

string

RetryDelay

Listener's retry delay.

public Duration RetryDelay { get; }

Property Value

Duration

Source

Event source.

public MessageBrokerClientEventSource Source { get; }

Property Value

MessageBrokerClientEventSource

Methods

ToString()

Returns a string representation of this MessageBrokerClientBindingListenerEvent instance.

[Pure]
public override string ToString()

Returns

string

String representation.