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:
- Start the WSO2 DAS server by issuing one of the following commands.
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 receiverAdapter 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
- Click Save