Struct MessageBrokerStreamProcessingMessageEvent
- Namespace
- LfrlAnvil.MessageBroker.Server.Events
- Assembly
- LfrlAnvil.MessageBroker.Server.dll
Represents an event emitted by MessageBrokerStream when starting to process a message.
public readonly struct MessageBrokerStreamProcessingMessageEvent
- Inherited Members
Properties
HasRouting
Specifies whether this message has explicit routing.
public bool HasRouting { get; }
Property Value
Length
Message length.
public int Length { get; }
Property Value
Listeners
Collection of MessageBrokerChannelListenerBinding that will receive the message.
public ReadOnlyArray<MessageBrokerChannelListenerBinding> Listeners { get; }
Property Value
MessageId
Unique id of the message.
public ulong MessageId { get; }
Property Value
Publisher
IMessageBrokerMessagePublisher that pushed the message.
public IMessageBrokerMessagePublisher Publisher { get; }
Property Value
Source
Event source.
public MessageBrokerStreamEventSource Source { get; }
Property Value
Methods
ToString()
Returns a string representation of this MessageBrokerStreamProcessingMessageEvent instance.
[Pure]
public override string ToString()
Returns
- string
String representation.