All docs
This doc
WSO2 DAS has many inbuilt event receivers to receive events via different transports. In addition, you can receive events via SQS by implementing an SQS event receiver as explained below.
To configure an SQS event receiver, follow the steps given below:
Create an SQS event receiver. For detailed instructions to create an event receiver, see Configuring Event Receivers.
The following are adapter properties configured for the SQS event receiver
Adapter Property | Description | Configuration File Property | Optional | Default Value |
---|---|---|---|---|
queueURL | The URL of the queue from which the event receiver consumes events | queueURL | No | N/A |
AccessKey | The AWS access key. | accessKey | No | N/A |
SecretKey | The AWS secret key. | secretKey | No | N/A |
Region | The AWS service region. | region | No | N/A |
Polling interval | The number of milliseconds between two message retrieval operations. | pollingInterval | Yes | 500 |
Wait Time | The maximum amount of time (in seconds) that a polling call should wait for a message to become available in the queue. | waitTime | Yes | The default value set in the configurations of the queue. |
Max number of messages | The maximum number of messages to be retrieved per polling call. | maxNumberOfMessages | Yes | 1 |
Visibility Timeout | The time period after which a message received by a consumer should no longer be visible for other consumers. | visibilityTimeout | Yes | The default value set in the configurations of the queue. |
Delete message after consuming | If this parameter is set to true , each message is deleted once it is consumed. | deleteAfterConsuming | Yes | true |
Max number of retry attempts | The maximum number of times the system must attempt to delete a consumes message if a delete operation fails. | deleteAfterConsuming | Yes | true |