Table of Contents

Struct MessageBrokerQueueEnqueueingMessageEvent

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

Represents an event emitted by MessageBrokerQueue when starting to enqueue a message.

public readonly struct MessageBrokerQueueEnqueueingMessageEvent
Inherited Members

Properties

Length

Message length.

public int Length { get; }

Property Value

int

Listener

MessageBrokerChannelPublisherBinding that received the message.

public MessageBrokerChannelListenerBinding Listener { get; }

Property Value

MessageBrokerChannelListenerBinding

MessageId

Unique id of the message.

public ulong MessageId { get; }

Property Value

ulong

Publisher

IMessageBrokerMessagePublisher that pushed the message.

public IMessageBrokerMessagePublisher Publisher { get; }

Property Value

IMessageBrokerMessagePublisher

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 MessageBrokerQueueEnqueueingMessageEvent instance.

[Pure]
public override string ToString()

Returns

string

String representation.