21.108. Interface IQueueMessageHandler

Namespace: ArmoniK.Core.Base
Assembly: ArmoniK.Core.Base.dll

Interface to handle queue messages lifecycle.

public interface IQueueMessageHandler : IAsyncDisposable

21.108.1. Implements

IAsyncDisposable

21.108.2. Properties

21.108.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; }

21.108.2.1.1. Property Value

CancellationToken

21.108.2.2. MessageId

Id of the message

string MessageId { get; }

21.108.2.2.1. Property Value

string

21.108.2.3. ReceptionDateTime

Date of reception of the message

DateTime ReceptionDateTime { get; init; }

21.108.2.3.1. Property Value

DateTime

21.108.2.4. Status

Status of the message. Used when the handler is disposed to notify the queue.

QueueMessageStatus Status { get; set; }

21.108.2.4.1. Property Value

QueueMessageStatus

21.108.2.5. TaskId

Task Id contained in the message

string TaskId { get; }

21.108.2.5.1. Property Value

string