Introduction
OutSystems Developer Cloud (ODC) is a cloud-native app development platform that provides a modular, scalable environment in which you develop and deploy your apps. With ODC you can build and deploy enterprise-grade, mission-critical apps in weeks. You can build web apps, web portals, mobile apps, and business workflows faster than with traditional development tools. You can then deploy your apps in a scalable, secure, and high-performance environment.
This connector has two parts:
The connector provides the following functionality (as of now):
There is also a operational support API to discover the unique build number for this connector so that any bugs discovered can be reported against this unique build number. The API is
Pre-requisites
To use this component correctly, you should have:
(For testing purposes, you may AmazonSQSFullAccess, however, you should always limit the permissions to the bare minimum for production use)
Installation
You can install the connector through ODC Forge.
You should install both the custom code extension as well as the AWS SQS (Black Belt Edition) library.
How to Use
Add library to your application
Firstly, add the AWS SQS (Black Belt Edition) library to your application as shown below.
Depending whether you want to use all the APIs, you can selectively add the needed APIs (or removed unused ones automatically later).
Configuration
The AWS SQS (Black Belt Edition) library requires a few settings to be configured in ODC portal for your application which is using the library:
Example 1: Create a queue
To create a queue, you will need to supply the right configuration values. The screenshot below gives an example.
Example 2: Send a message
To send a message, you will need to supply queueURL. This is obtained when you create the queue. MessageGroupId and MessageDeduplicationId are mandatory if you are using FIFO queues. For standard queue, please supply empty string for both MessageDeduplicationId and MessageGroupId. For more information on the use of these arguments, please consult AWS SQS documentation.
Example 3: Receive a message
To receive a message, you will also need the queueURL which is obtained when the queue is created. You can also indicate the maximum messages to retrieve.
Limitation
Found a bug?
Kindly submit your bug report here and do indicate the build number of the library which you are using too.