How can I integrate AWS SQS in Pega Dev Studio using a function?
We need integrate an AWS SQS in a Pega function, processes a queue and stores the obtained records in a database table, to do this, we need to import the necessary libraries from the AWS SDK. Is this possible?
We need to import the following libraries:
import com.amazonaws.services.sqs.AmazonSQS;
import com.amazonaws.services.sqs.AmazonSQSClientBuilder;
import com.amazonaws.services.sqs.model.AmazonSQSException;
import com.amazonaws.services.sqs.model.SendMessageBatchRequest;
To use the API we need to Authenticate with the AWS Signature. Apparently the AWS Authentication profile is only available to use with repositories for the moment.