17.110. Interface IQueueMessageHandler

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

Interface to handle queue messages lifecycle.

public interface IQueueMessageHandler : IAsyncDisposable

17.110.1. Implements

IAsyncDisposable

17.110.2. Properties

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

17.110.2.1.1. Property Value

CancellationToken

17.110.2.2. MessageId

Id of the message

string MessageId { get; }

17.110.2.2.1. Property Value

string

17.110.2.3. ReceptionDateTime

Date of reception of the message

DateTime ReceptionDateTime { get; init; }

17.110.2.3.1. Property Value

DateTime

17.110.2.4. Status

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

QueueMessageStatus Status { get; set; }

17.110.2.4.1. Property Value

QueueMessageStatus

17.110.2.5. TaskId

Task Id contained in the message

string TaskId { get; }

17.110.2.5.1. Property Value

string