Struct MessageBrokerQueueMessageDiscardedEvent
- Namespace
- LfrlAnvil.MessageBroker.Server.Events
- Assembly
- LfrlAnvil.MessageBroker.Server.dll
Represents an event emitted by MessageBrokerQueue when an enqueued message was discarded due to disposed listener.
public readonly struct MessageBrokerQueueMessageDiscardedEvent
- Inherited Members
Properties
Listener
MessageBrokerChannelListenerBinding that received this message.
public MessageBrokerChannelListenerBinding Listener { get; }
Property Value
MessageRemoved
Specifies whether the data of this message has been removed from the stream's message store due to no longer being referenced.
public bool MessageRemoved { get; }
Property Value
MovedToDeadLetter
Specifies whether the message has been moved to dead letter.
public bool MovedToDeadLetter { get; }
Property Value
Publisher
IMessageBrokerMessagePublisher that pushed this message.
public IMessageBrokerMessagePublisher Publisher { get; }
Property Value
Reason
Specifies the reason behind discarding of this message.
public MessageBrokerQueueDiscardMessageReason Reason { get; }
Property Value
Remarks
See MessageBrokerQueueDiscardMessageReason for more information.
Redelivery
Redelivery attempt of this message.
public int Redelivery { get; }
Property Value
Retry
Retry attempt of this message.
public int Retry { get; }
Property Value
Source
Event source.
public MessageBrokerQueueEventSource Source { get; }
Property Value
StoreKey
Key of the stream's message store entry associated with this message.
public int StoreKey { get; }
Property Value
Methods
ToString()
Returns a string representation of this MessageBrokerQueueMessageDiscardedEvent instance.
[Pure]
public override string ToString()
Returns
- string
String representation.