Private static async Task<ReceiveMessageResponse> GetMessage(IAmazonSQS sqs, string url, int waitTime=0)
{
try
{
return await sqs.ReceiveMessageAsync(new ReceiveMessageRequest
{
QueueUrl = qUrl,
MaxMessage = maxMessage,
WaitTimeInSec= waitTime
});
}
catch(Exception ex)
{
throw ex;
}
}
Experts Exchange (EE) has become my company's go-to resource to get answers. I've used EE to make decisions, solve problems and even save customers. OutagesIO has been a challenging project and... Keep reading >>
Our community of experts have been thoroughly vetted for their expertise and industry experience.