26.102. Interface IQueueMessageHandler
Namespace: ArmoniK.Core.Base
Assembly: ArmoniK.Core.Base.dll
Interface to handle queue messages lifecycle.
public interface IQueueMessageHandler : IAsyncDisposable
26.102.1. Implements
26.102.2. Properties
26.102.2.1. CancellationToken
Used to signal that the message ownership has been lost
[Obsolete("ArmoniK now manages loss of link with the queue")]
CancellationToken CancellationToken { get; set; }
26.102.2.1.1. Property Value
26.102.2.2. MessageId
Id of the message
string MessageId { get; }
26.102.2.2.1. Property Value
26.102.2.3. ReceptionDateTime
Date of reception of the message
DateTime ReceptionDateTime { get; init; }
26.102.2.3.1. Property Value
26.102.2.4. Status
Status of the message. Used when the handler is disposed to notify the queue.
QueueMessageStatus Status { get; set; }
26.102.2.4.1. Property Value
26.102.2.5. TaskId
Task Id contained in the message
string TaskId { get; }