amazon-sqs-java-temporary-queues-client
amazon-sqs-java-temporary-queues-client copied to clipboard
Failover SQS client
Hello, I want to ask a scenario about failover.
Assume that client sent a message with sendMessageAndGetResponse
.
Then it crashed after 3rd action, the message processed by the server, and the response written back to the temporary queue.
Is there any way to read that response message?
1 - creates a temporary queue
2 - attaches its URL as an attribute on the message
3 - sends the message
4 - receives the response from the temporary queue
5 - deletes the temporary queue
6 - returns the response