Skip to main content

Definition

Assembly: CloudNimble.SimpleMessageBus.Dispatch.Azure.dll Namespace: CloudNimble.SimpleMessageBus.Dispatch Inheritance: System.Object

Syntax

Summary

Processes messages from Azure Storage Queues and dispatches them to registered message handlers.

Remarks

This processor integrates with Azure WebJobs to automatically trigger message processing when messages arrive in Azure Storage Queues. It handles message deserialization, lifecycle management, and provides proper logging and dependency injection scope for each message.

Constructors

.ctor

Initializes a new instance of the AzureStorageQueueProcessor class.

Syntax

Parameters

Exceptions

.ctor Inherited

Inherited from object

Syntax

Methods

Equals Inherited Virtual

Inherited from object

Syntax

Parameters

Returns

Type: bool

Equals Inherited

Inherited from object

Syntax

Parameters

Returns

Type: bool

GetHashCode Inherited Virtual

Inherited from object

Syntax

Returns

Type: int

GetType Inherited

Inherited from object

Syntax

Returns

Type: System.Type

MemberwiseClone Inherited

Inherited from object

Syntax

Returns

Type: object

ProcessQueue

Processes a message from the Azure Storage Queue and dispatches it to registered handlers.

Syntax

Parameters

Returns

Type: System.Threading.Tasks.Task<Azure.Storage.Queues.Models.QueueMessage> The processed queue message, which will be moved to the completed queue if configured.

Remarks

This method is triggered automatically by the Azure WebJobs framework when messages arrive. It deserializes the message envelope, sets up processing context, and dispatches to handlers. If processing succeeds, the message is optionally moved to a completion queue.

ReferenceEquals Inherited

Inherited from object

Syntax

Parameters

Returns

Type: bool

ToString Inherited Virtual

Inherited from object

Syntax

Returns

Type: string?
  • CloudNimble.SimpleMessageBus.Dispatch.IQueueProcessor