public ReceiveMessageResult receiveMessageSync ( ReceiveMessageRequest rq ) { Future < ReceiveMessageResult > future = receiveMessage ( rq , null ) ; return waitForFuture ( future ) ; }
Retrieves messages from an SQS queue .