Struct MessageBrokerClientAcknowledgingMessageEvent
- Namespace
- LfrlAnvil.MessageBroker.Client.Events
- Assembly
- LfrlAnvil.MessageBroker.Client.dll
Represents an event emitted by MessageBrokerClient related to sending message notification ACK to the server.
public readonly struct MessageBrokerClientAcknowledgingMessageEvent
- Inherited Members
Properties
AckId
Id of the pending ACK associated with the message.
public int AckId { get; }
Property Value
IsAutomatic
Specifies whether this ACK was initialized automatically by the client.
public bool IsAutomatic { get; }
Property Value
Remarks
Applies only if Nack is not null.
Listener
MessageBrokerListener related to this event.
public MessageBrokerListener Listener { get; }
Property Value
MessageId
Unique message id.
public ulong MessageId { get; }
Property Value
MessageTraceId
Optional trace id of the client event that relates to receiving message notification from the server.
public ulong? MessageTraceId { get; }
Property Value
Nack
Optional MessageBrokerNegativeAck instance.
public MessageBrokerNegativeAck? Nack { get; }
Property Value
Remarks
null value means that this event relates to an ACK, otherwise it relates to a negative ACK.
Redelivery
Redelivery attempt of the message.
public int Redelivery { get; }
Property Value
Retry
Retry attempt of the message.
public int Retry { get; }
Property Value
Source
Event source.
public MessageBrokerClientEventSource Source { get; }
Property Value
StreamId
Unique id of the server-side stream that handled the message.
public int StreamId { get; }
Property Value
Methods
ToString()
Returns a string representation of this MessageBrokerClientAcknowledgingMessageEvent instance.
[Pure]
public override string ToString()
Returns
- string
String representation.