AmazonMessage<TRequest> Class
Definition
- Namespace
- Savvyio.Extensions.SimpleQueueService
- Assemblies
- Savvyio.Extensions.SimpleQueueService.dll
Represents the base class from which all implementations of AWS SQS should derive.
public abstract class AmazonMessage<TRequest> : IConfigurable<AmazonMessageOptions> where TRequest : IRequest
Type Parameters
TRequestThe type of the model to handle.
- Inheritance
-
objectAmazonMessage<TRequest>
- Implements
- Derived
Constructors
| Name | Description |
|---|---|
| AmazonMessage(IMarshaller, AmazonMessageOptions) | Initializes a new instance of the AmazonMessage<TRequest> class. |
Fields
| Name | Description |
|---|---|
| MessageTypeAttributeKey | The key for the message type attribute. |
Properties
| Name | Description |
|---|---|
| Marshaller | Gets the by constructor provided serializer context. |
| Options | Gets the configured AmazonMessageOptions of this instance. |
| UseFirstInFirstOut | Gets a value indicating whether AWS SQS is configured for FIFO. |
Methods
| Name | Description |
|---|---|
| CreateSimpleQueueServiceClient() | Creates the AWS SQS client used by send and receive operations. |
| RetrieveMessagesAsync(CancellationToken) | Receive one or more message(s) asynchronous from AWS SQS. |
See Also
IConfigurable<TOptions>