The properties of the ISQSQueuePoller class are listed here.
|
List of message attribute names to return along with each message. Valid values: All | Policy | VisibilityTimeout | MaximumMessageSize | MessageRetentionPeriod | ApproximateNumberOfMessages | ApproximateNumberOfMessagesNotVisible | CreatedTimestamp | LastModifiedTimestamp | QueueArn | ApproximateNumberOfMessagesDelayed | DelaySeconds | ReceiveMessageWaitTimeSeconds | RedrivePolicy | FifoQueue | ContentBasedDeduplication | KmsMasterKeyId | KmsDataKeyReusePeriodSeconds | DeduplicationScope | FifoThroughputLimit | RedriveAllowPolicy | |
|
An optional IdleTimeout value for Poll operations specified in milliseconds. | |
|
Optional value for specifying maximum number of messages to retrieve in a single Poll batch. Valid values range from 1 to 10. When not specified the default number of messages requested is 1. | |
|
Specifies a list of message attributes by name to be returned along with each message. Specifying All or .* will return all message attributes. | |
|
Optionally specify an OnBeforeRequest to receive a callback before each Poll request is started. The handler method is provided with polling statistics. | |
|
Property defining behaviour at end of each polling loop cycle. By default this property is set to false and messages will be automatically deleted at the end of the Poll procedure. When setting this property to true, use DeleteMessage or DeleteMessages to remove messages you have successfully processed. | |
|
Optionally specify VisibilityTimeout to set the amount of time in seconds you have to process each received message before it is returned to the queue. | |
|
Optionally specify the long poll interval in seconds. Messages are yielded as soon as they are received. The WaitTimeSeconds specifies the maximum period of time to wait on each polling attempt before starting a new poll attempt. The default value is 20 seconds if not specified. |
Copyright © 2019-2021 Appercept Ltd. All rights reserved.
|