Hi
I have an application where we are using "Message_Receive" action of AWS SQS component to retrieve the data. But when the queue is empty it is throwing an exception given below.
"Object reference not set to an instance of an object."
I guess this is not being handled by this component and Outsystems action is throwing an exception.
AWS SQS has an action called "GetQueueAttributes" which is not present in this component. This can be used before calling "Message_Receive" to check if the queue is empty.
https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/example_sqs_GetQueueAttributes_section.html
I would request the Outsystems team to add the "GetQueueAttributes" action in the component or fix the "Message_Receive" action.
Any other solution which i can implement to solve this issue.
BR Syed