Definition
Assembly: CloudNimble.SimpleMessageBus.Dispatch.Amazon.dll Namespace: CloudNimble.SimpleMessageBus.Dispatch.Amazon Inheritance: System.ObjectSyntax
Summary
Processes messages from Amazon SQS queues for SimpleMessageBus.Constructors
.ctor
Creates a new instance of the AmazonSQSProcessor.Syntax
Parameters
| Name | Type | Description |
|---|---|---|
dispatcher | CloudNimble.SimpleMessageBus.Dispatch.IMessageDispatcher | The IMessageDispatcher to use for processing messages. |
serviceScopeFactory | Microsoft.Extensions.DependencyInjection.IServiceScopeFactory | The IServiceScopeFactory to use for creating service scopes. |
Exceptions
.ctor Inherited
Inherited from
objectSyntax
Methods
Equals Inherited Virtual
Inherited from
objectSyntax
Parameters
| Name | Type | Description |
|---|---|---|
obj | object? | - |
Returns
Type:bool
Equals Inherited
Inherited from
objectSyntax
Parameters
| Name | Type | Description |
|---|---|---|
objA | object? | - |
objB | object? | - |
Returns
Type:bool
GetHashCode Inherited Virtual
Inherited from
objectSyntax
Returns
Type:int
GetType Inherited
Inherited from
objectSyntax
Returns
Type:System.Type
MemberwiseClone Inherited
Inherited from
objectSyntax
Returns
Type:object
ProcessQueue
Processes a message from the SQS queue.Syntax
Parameters
| Name | Type | Description |
|---|---|---|
sqsMessage | Amazon.SQS.Model.Message | The SQS message to process. |
logger | Microsoft.Extensions.Logging.ILogger | The logger instance. |
Returns
Type:System.Threading.Tasks.Task<Amazon.SQS.Model.Message>
A Task reference for the asynchronous function.
ReferenceEquals Inherited
Inherited from
objectSyntax
Parameters
| Name | Type | Description |
|---|---|---|
objA | object? | - |
objB | object? | - |
Returns
Type:bool
ToString Inherited Virtual
Inherited from
objectSyntax
Returns
Type:string?
Related APIs
- CloudNimble.SimpleMessageBus.Dispatch.IQueueProcessor