In this recipe, we will create Lambda function in Java to create an SQS queue, get the URL of the queue using the queue name, and then send a message to that queue. We will not repeat the commands or steps required to create and invoke the Lambda that was already discussed earlier. Please refer to code files or earlier Lambda recipes for the complete code.