Table of Contents

Struct MessageBrokerQueueProcessingMessageEvent

Namespace
LfrlAnvil.MessageBroker.Server.Events
Assembly
LfrlAnvil.MessageBroker.Server.dll

Represents an event emitted by MessageBrokerQueue when starting to process an enqueued message.

public readonly struct MessageBrokerQueueProcessingMessageEvent
Inherited Members

Properties

IsFromDeadLetter

Specifies whether this message is from dead letter.

public bool IsFromDeadLetter { get; }

Property Value

bool

IsRedelivery

Specifies whether this message is a redelivery.

public bool IsRedelivery { get; }

Property Value

bool

IsRetry

Specifies whether this message is a retry.

public bool IsRetry { get; }

Property Value

bool

Listener

MessageBrokerChannelListenerBinding that received the message.

public MessageBrokerChannelListenerBinding Listener { get; }

Property Value

MessageBrokerChannelListenerBinding

Publisher

IMessageBrokerMessagePublisher that pushed the message.

public IMessageBrokerMessagePublisher Publisher { get; }

Property Value

IMessageBrokerMessagePublisher

Redelivery

Redelivery attempt number of this message.

public int Redelivery { get; }

Property Value

int

Retry

Retry attempt number of this message.

public int Retry { get; }

Property Value

int

Source

Event source.

public MessageBrokerQueueEventSource Source { get; }

Property Value

MessageBrokerQueueEventSource

StoreKey

Key of the stream's message store entry associated with the message.

public int StoreKey { get; }

Property Value

int

Methods

ToString()

Returns a string representation of this MessageBrokerQueueProcessingMessageEvent instance.

[Pure]
public override string ToString()

Returns

string

String representation.