23.102. Interface IQueueMessageHandler

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

Interface to handle queue messages lifecycle.

public interface IQueueMessageHandler : IAsyncDisposable

23.102.1. Implements

IAsyncDisposable

23.102.2. Properties

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

23.102.2.1.1. Property Value

CancellationToken

23.102.2.2. MessageId

Id of the message

string MessageId { get; }

23.102.2.2.1. Property Value

string

23.102.2.3. ReceptionDateTime

Date of reception of the message

DateTime ReceptionDateTime { get; init; }

23.102.2.3.1. Property Value

DateTime

23.102.2.4. Status

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

QueueMessageStatus Status { get; set; }

23.102.2.4.1. Property Value

QueueMessageStatus

23.102.2.5. TaskId

Task Id contained in the message

string TaskId { get; }

23.102.2.5.1. Property Value

string