AWS SQS Dead Letter Queue Example in Java
This is an in-depth article related to the AWS SQS Dead Letter Queue Example in Java.
1. Introduction
Amazon Web Services is based on the internet as a group of remote computing services that are together called a cloud computing platform. AWS is offered by Amazon.com. The most commonly used services are Amazon EC2 and Amazon S3. You can deploy microservices-based applications on AWS.
AWS SQS (Simple Queue Service) is a message queue service that is used for message exchange. This pattern is used for decoupling a message sender and receiver. It is highly available and requires minimal configuration. It supports HTTPS and TLS security protocols. It supports two Queue types which are FIFO and Standard.
2. AWS SQS
AWS SQS is used for Work Queues, Buffer and Batch Operations, Request Offloading, Fan-out, and Autoscaling.
2.1 Prerequisites
Java 7 or 8 is required on the Linux, windows or mac operating system. Maven 3.6.1 is required for building this application. AWS account is needed.
2.2 Download
You can download Java 8 can be downloaded from the Oracle web site . Apache Maven 3.6.1 can be downloaded from Apache site. AWS account can be created on Amazon AWS site.
2.3 Setup
You can create an account on AWS and create an instance using the AWS Linux AMI template. You can download the .pem file while inputting the key pair. You can save the .pem file as aws_ec2.pem. You can use the command below to ssh into the AWS console. You can use an ec2-user account to login into the instance created. (ec2-35-154-183-212.ap-south-1.compute.amazonaws.com)
AWS Console Setupssh -i aws_ec2.pem ec2-user@ec2-35-154-183-212.ap-south-1.compute.amazonaws.com
You can set up the java by using the command below:
Java Setupsudo yum install java-1.8.0-openjdk-develjava -version alternatives --config java
You can check the java setup by using the alternatives command mentioned above. You can set the environment variables for JAVA_HOME and PATH. They can be set as shown below:
Java Environment Setupexport JAVA_HOME="/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.302.b08-0.amzn2.0.1.x86_64" PATH=$JAVA_HOME/bin:$PATH
You can set up the maven by using the command below:
Maven Setupsudo wget http://repos.fedorapeople.org/repos/dchen/apache-maven/epel-apache-maven.repo -O /etc/yum.repos.d/epel-apache-maven.repo sudo sed -i s/\$releasever/6/g /etc/yum.repos.d/epel-apache-maven.repo sudo yum install -y apache-maven mvn --version
The environment variables for maven are set as below:
Maven Environment SetupJAVA_HOME=”/jboss/jdk1.8.0_73″export M2_HOME=/users/bhagvan.kommadi/Desktop/apache-maven-3.6.1export M2=$M2_HOME/binexport PATH=$M2:$PATH
2.4 AWS SQS Dead Letter Queue
A dead letter queue is used for having a queue storing the messages which are not processed after an upper limit of attempts. This queue is used for unprocessed messages isolation for further analysis.
To start with, you need to get the access key id and secret key from your AWS account. From the AWS console, click on Users. Select the user name and click on the Security credentials tab. Create an access key from the Access keys and click on the view new access key pair. Click on Show. You will see the credentials as below:
CredentialsAccess key ID: AKIAIOSFODNN7EXAMPLE Secret access key: wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
Now let us look at the example to create the SQS Dead Letter Queue. In this code, you need to add the credentials at the static block.
SQS Dead Letterpackage com.javacodegeeks.sqs; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import com.amazonaws.auth.AWSCredentials; import com.amazonaws.auth.AWSStaticCredentialsProvider; import com.amazonaws.auth.BasicAWSCredentials; import com.amazonaws.regions.Regions; import com.amazonaws.services.sqs.AmazonSQSClientBuilder; import com.amazonaws.services.sqs.model.CreateQueueRequest; import com.amazonaws.services.sqs.model.DeleteMessageRequest; import com.amazonaws.services.sqs.model.GetQueueAttributesRequest; import com.amazonaws.services.sqs.model.GetQueueAttributesResult; import com.amazonaws.services.sqs.model.MessageAttributeValue; import com.amazonaws.services.sqs.model.ReceiveMessageRequest; import com.amazonaws.services.sqs.model.SendMessageBatchRequest; import com.amazonaws.services.sqs.model.SendMessageRequest; import com.amazonaws.services.sqs.model.SetQueueAttributesRequest; import com.amazonaws.services.sqs.model.SendMessageBatchRequestEntry; import com.amazonaws.services.sqs.model.Message; import com.amazonaws.services.sqs.AmazonSQS; public class AWSSQSExample { private static final AWSCredentials aws_credentials; static { aws_credentials = new BasicAWSCredentials( "Access Key ID", "Secret Key" ); } public static void main(String[] args) { AmazonSQS aws_sqs = AmazonSQSClientBuilder.standard() .withCredentials(new AWSStaticCredentialsProvider(aws_credentials)) .withRegion(Regions.US_EAST_1) .build(); CreateQueueRequest createStandardQueueRequest = new CreateQueueRequest("javacodegeeks-queue"); String standardQueueUrl = aws_sqs.createQueue(createStandardQueueRequest) .getQueueUrl(); System.out.println(standardQueueUrl); Map queueAttributes = new HashMap(); queueAttributes.put("FifoQueue", "true"); queueAttributes.put("ContentBasedDeduplication", "true"); CreateQueueRequest createFifoQueueRequest = new CreateQueueRequest("javacodegeeks-queue.fifo").withAttributes(queueAttributes); String fifoQueueUrl = aws_sqs.createQueue(createFifoQueueRequest) .getQueueUrl(); System.out.println(fifoQueueUrl); String deadLetterQueueUrl = aws_sqs.createQueue("javacodegeeks-dead-letter-queue") .getQueueUrl(); GetQueueAttributesResult deadLetterQueueAttributes = aws_sqs.getQueueAttributes(new GetQueueAttributesRequest(deadLetterQueueUrl).withAttributeNames("QueueArn")); String deadLetterQueueARN = deadLetterQueueAttributes.getAttributes() .get("QueueArn"); SetQueueAttributesRequest queueAttributesRequest = new SetQueueAttributesRequest().withQueueUrl(standardQueueUrl) .addAttributesEntry("RedrivePolicy", "{\"maxReceiveCount\":\"2\", " + "\"deadLetterTargetArn\":\"" + deadLetterQueueARN + "\"}"); aws_sqs_sqs.setQueueAttributes(queueAttributesRequest); Map messageAttributes = new HashMap(); messageAttributes.put("AttributeOne", new MessageAttributeValue().withStringValue("This is an attribute") .withDataType("String")); SendMessageRequest sendMessageStandardQueue = new SendMessageRequest().withQueueUrl(standardQueueUrl) .withMessageBody("simple message.") .withDelaySeconds(30) .withMessageAttributes(messageAttributes); aws_sqs.sendMessage(sendMessageStandardQueue); SendMessageRequest sendMessageFifoQueue = new SendMessageRequest().withQueueUrl(fifoQueueUrl) .withMessageBody("FIFO Queue") .withMessageGroupId("javacodegeeks-group-1") .withMessageAttributes(messageAttributes); aws_sqs.sendMessage(sendMessageFifoQueue); List messageEntries = new ArrayList(); messageEntries.add(new SendMessageBatchRequestEntry().withId("id-1") .withMessageBody("batch-1") .withMessageGroupId("javacodegeeks-group-1")); messageEntries.add(new SendMessageBatchRequestEntry().withId("id-2") .withMessageBody("batch-2") .withMessageGroupId("javacodegeeks-group-1")); SendMessageBatchRequest sendMessageBatchRequest = new SendMessageBatchRequest(fifoQueueUrl, messageEntries); aws_sqs.sendMessageBatch(sendMessageBatchRequest); ReceiveMessageRequest receiveMessageRequest = new ReceiveMessageRequest(fifoQueueUrl).withWaitTimeSeconds(10) .withMaxNumberOfMessages(1); List sqsMessages = aws_sqs.receiveMessage(receiveMessageRequest) .getMessages(); sqsMessages.get(0) .getAttributes(); sqsMessages.get(0) .getBody(); aws_sqs.deleteMessage(new DeleteMessageRequest().withQueueUrl(fifoQueueUrl) .withReceiptHandle(sqsMessages.get(0) .getReceiptHandle())); GetQueueAttributesRequest getQueueAttributesRequest = new GetQueueAttributesRequest(standardQueueUrl).withAttributeNames("All"); GetQueueAttributesResult getQueueAttributesResult = aws_sqs.getQueueAttributes(getQueueAttributesRequest); System.out.println(String.format(" message count on the queue - %s", getQueueAttributesResult.getAttributes() .get("ApproximateNumberOfMessages"))); System.out.println(String.format("message count yet to be processed %s", getQueueAttributesResult.getAttributes() .get("ApproximateNumberOfMessagesNotVisible"))); } }
The command to compile the above code is shown below:
Compilation Commandscd aws mvn package
The command to execute the example is shown below:
Execution commandsjava -cp /Users/bhagvan.kommadi/desktop/JavacodeGeeks/code/awssqs/aws/target/aws-0.1.0-SNAPSHOT.jar org.javacodegeeks.sqs.AWSSQSExample
The output of the above command when executed is displayed below:
Outputapples-MacBook-Air:aws bhagvan.kommadi$ java -cp /Users/bhagvan.kommadi/desktop/JavacodeGeeks/code/awssqs/aws/target/aws-0.1.0-SNAPSHOT.jar org.javacodegeeks.sqs.AWSSQSExample 23:24:05.713 [main] DEBUG com.amazonaws.AmazonWebServiceClient - Internal logging successfully configured to commons logger: true 23:24:06.343 [main] DEBUG com.amazonaws.metrics.AwsSdkMetrics - Admin mbean registered under com.amazonaws.management:type=AwsSdkMetrics 23:24:06.389 [main] DEBUG com.amazonaws.request - Sending Request: POST https://sqs.us-east-1.amazonaws.com / Parameters: ({"Action":["CreateQueue"],"Version":["2012-11-05"],"QueueName":["javacodegeeks-queue"]}Headers: (User-Agent: aws-sdk-java/1.11.290 Mac_OS_X/10.16 Java_HotSpot(TM)_64-Bit_Server_VM/25.101-b13 java/1.8.0_101, amz-sdk-invocation-id: 2b97545d-0f29-da9e-16f0-7234241b3f94, ) 23:24:06.447 [main] DEBUG com.amazonaws.auth.AWS4Signer - AWS4 Canonical Request: '"POST / amz-sdk-invocation-id:2b97545d-0f29-da9e-16f0-7234241b3f94 amz-sdk-retry:0/0/500 host:sqs.us-east-1.amazonaws.com user-agent:aws-sdk-java/1.11.290 Mac_OS_X/10.16 Java_HotSpot(TM)_64-Bit_Server_VM/25.101-b13 java/1.8.0_101 x-amz-date:20210817T175406Z amz-sdk-invocation-id;amz-sdk-retry;host;user-agent;x-amz-date 8ab507339c5acf4c4b8456f0316a98cea0c70d6a205b2bfc71a626f027912c5d" 23:24:06.447 [main] DEBUG com.amazonaws.auth.AWS4Signer - AWS4 String to Sign: '"AWS4-HMAC-SHA256 20210817T175406Z 20210817/us-east-1/sqs/aws4_request b96457ba5f380e8a76c02bfae64e45f4318bff46746a8fd39e6a2b6cf4dd6bed" 23:24:06.460 [main] DEBUG com.amazonaws.auth.AWS4Signer - Generating a new signing key as the signing key not available in the cache for the date 1629158400000 23:24:06.662 [main] DEBUG org.apache.http.client.protocol.RequestAddCookies - CookieSpec selected: default 23:24:06.679 [main] DEBUG org.apache.http.client.protocol.RequestAuthCache - Auth cache not set in the context 23:24:06.680 [main] DEBUG org.apache.http.impl.conn.PoolingHttpClientConnectionManager - Connection request: [route: {s}->https://sqs.us-east-1.amazonaws.com:443][total kept alive: 0; route allocated: 0 of 50; total allocated: 0 of 50] 23:24:06.702 [main] DEBUG org.apache.http.impl.conn.PoolingHttpClientConnectionManager - Connection leased: [id: 0][route: {s}->https://sqs.us-east-1.amazonaws.com:443][total kept alive: 0; route allocated: 1 of 50; total allocated: 1 of 50] 23:24:06.704 [main] DEBUG org.apache.http.impl.execchain.MainClientExec - Opening connection {s}->https://sqs.us-east-1.amazonaws.com:443 23:24:09.712 [main] DEBUG org.apache.http.impl.conn.DefaultHttpClientConnectionOperator - Connecting to sqs.us-east-1.amazonaws.com/52.46.159.46:443 23:24:09.713 [main] DEBUG com.amazonaws.http.conn.ssl.SdkTLSSocketFactory - connecting to sqs.us-east-1.amazonaws.com/52.46.159.46:443 23:24:09.713 [main] DEBUG com.amazonaws.http.conn.ssl.SdkTLSSocketFactory - Connecting socket to sqs.us-east-1.amazonaws.com/52.46.159.46:443 with timeout 10000 23:24:10.664 [main] DEBUG com.amazonaws.http.conn.ssl.SdkTLSSocketFactory - Enabled protocols: [TLSv1, TLSv1.1, TLSv1.2] 23:24:10.664 [main] DEBUG com.amazonaws.http.conn.ssl.SdkTLSSocketFactory - Enabled cipher suites:[TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256, TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256, TLS_RSA_WITH_AES_128_CBC_SHA256, TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256, TLS_ECDH_RSA_WITH_AES_128_CBC_SHA256, TLS_DHE_RSA_WITH_AES_128_CBC_SHA256, TLS_DHE_DSS_WITH_AES_128_CBC_SHA256, TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA, TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA, TLS_RSA_WITH_AES_128_CBC_SHA, TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA, TLS_ECDH_RSA_WITH_AES_128_CBC_SHA, TLS_DHE_RSA_WITH_AES_128_CBC_SHA, TLS_DHE_DSS_WITH_AES_128_CBC_SHA, TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256, TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256, TLS_RSA_WITH_AES_128_GCM_SHA256, TLS_ECDH_ECDSA_WITH_AES_128_GCM_SHA256, TLS_ECDH_RSA_WITH_AES_128_GCM_SHA256, TLS_DHE_RSA_WITH_AES_128_GCM_SHA256, TLS_DHE_DSS_WITH_AES_128_GCM_SHA256, TLS_ECDHE_ECDSA_WITH_3DES_EDE_CBC_SHA, TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA, SSL_RSA_WITH_3DES_EDE_CBC_SHA, TLS_ECDH_ECDSA_WITH_3DES_EDE_CBC_SHA, TLS_ECDH_RSA_WITH_3DES_EDE_CBC_SHA, SSL_DHE_RSA_WITH_3DES_EDE_CBC_SHA, SSL_DHE_DSS_WITH_3DES_EDE_CBC_SHA, TLS_EMPTY_RENEGOTIATION_INFO_SCSV] 23:24:10.664 [main] DEBUG com.amazonaws.http.conn.ssl.SdkTLSSocketFactory - socket.getSupportedProtocols(): [SSLv2Hello, SSLv3, TLSv1, TLSv1.1, TLSv1.2], socket.getEnabledProtocols(): [TLSv1, TLSv1.1, TLSv1.2] 23:24:10.665 [main] DEBUG com.amazonaws.http.conn.ssl.SdkTLSSocketFactory - TLS protocol enabled for SSL handshake: [TLSv1.2, TLSv1.1, TLSv1] 23:24:10.665 [main] DEBUG com.amazonaws.http.conn.ssl.SdkTLSSocketFactory - Starting handshake 23:24:11.342 [main] DEBUG com.amazonaws.http.conn.ssl.SdkTLSSocketFactory - Secure session established 23:24:11.343 [main] DEBUG com.amazonaws.http.conn.ssl.SdkTLSSocketFactory - negotiated protocol: TLSv1.2 23:24:11.343 [main] DEBUG com.amazonaws.http.conn.ssl.SdkTLSSocketFactory - negotiated cipher suite: TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA 23:24:11.343 [main] DEBUG com.amazonaws.http.conn.ssl.SdkTLSSocketFactory - peer principal: CN=queue.amazonaws.com 23:24:11.343 [main] DEBUG com.amazonaws.http.conn.ssl.SdkTLSSocketFactory - peer alternative names: [sqs.us-east-1.amazonaws.com, queue.amazonaws.com, *.sqs.us-east-1.vpce.amazonaws.com] 23:24:11.344 [main] DEBUG com.amazonaws.http.conn.ssl.SdkTLSSocketFactory - issuer principal: CN=Amazon, OU=Server CA 1B, O=Amazon, C=US 23:24:11.365 [main] DEBUG com.amazonaws.internal.SdkSSLSocket - created: sqs.us-east-1.amazonaws.com/52.46.159.46:443 23:24:11.367 [main] DEBUG org.apache.http.impl.conn.DefaultHttpClientConnectionOperator - Connection established 192.168.1.7:5507652.46.159.46:443 23:24:11.368 [main] DEBUG org.apache.http.impl.conn.DefaultManagedHttpClientConnection - http-outgoing-0: set socket timeout to 50000 23:24:11.368 [main] DEBUG org.apache.http.impl.execchain.MainClientExec - Executing request POST / HTTP/1.1 23:24:11.368 [main] DEBUG org.apache.http.impl.execchain.MainClientExec - Proxy auth state: UNCHALLENGED 23:24:11.371 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> POST / HTTP/1.1 23:24:11.371 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> Host: sqs.us-east-1.amazonaws.com 23:24:11.371 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> Authorization: AWS4-HMAC-SHA256 Credential=AKIAT4G3TTGOD43IBVWB/20210817/us-east-1/sqs/aws4_request, SignedHeaders=amz-sdk-invocation-id;amz-sdk-retry;host;user-agent;x-amz-date, Signature=bf4a013265dbc1703a0edadd557077c25f3a4e034d9eaafd85069b4c77bf5621 23:24:11.371 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> X-Amz-Date: 20210817T175406Z 23:24:11.371 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> User-Agent: aws-sdk-java/1.11.290 Mac_OS_X/10.16 Java_HotSpot(TM)_64-Bit_Server_VM/25.101-b13 java/1.8.0_101 23:24:11.371 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> amz-sdk-invocation-id: 2b97545d-0f29-da9e-16f0-7234241b3f94 23:24:11.371 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> amz-sdk-retry: 0/0/500 23:24:11.371 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> Content-Type: application/x-www-form-urlencoded; charset=utf-8 23:24:11.371 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> Content-Length: 67 23:24:11.371 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> Connection: Keep-Alive 23:24:11.372 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "POST / HTTP/1.1[\r][\n]" 23:24:11.372 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "Host: sqs.us-east-1.amazonaws.com[\r][\n]" 23:24:11.372 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "Authorization: AWS4-HMAC-SHA256 Credential=AKIAT4G3TTGOD43IBVWB/20210817/us-east-1/sqs/aws4_request, SignedHeaders=amz-sdk-invocation-id;amz-sdk-retry;host;user-agent;x-amz-date, Signature=bf4a013265dbc1703a0edadd557077c25f3a4e034d9eaafd85069b4c77bf5621[\r][\n]" 23:24:11.372 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "X-Amz-Date: 20210817T175406Z[\r][\n]" 23:24:11.372 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "User-Agent: aws-sdk-java/1.11.290 Mac_OS_X/10.16 Java_HotSpot(TM)_64-Bit_Server_VM/25.101-b13 java/1.8.0_101[\r][\n]" 23:24:11.372 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "amz-sdk-invocation-id: 2b97545d-0f29-da9e-16f0-7234241b3f94[\r][\n]" 23:24:11.372 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "amz-sdk-retry: 0/0/500[\r][\n]" 23:24:11.372 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "Content-Type: application/x-www-form-urlencoded; charset=utf-8[\r][\n]" 23:24:11.372 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "Content-Length: 67[\r][\n]" 23:24:11.372 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "Connection: Keep-Alive[\r][\n]" 23:24:11.372 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "[\r][\n]" 23:24:11.373 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "Action=CreateQueue&Version=2012-11-05&QueueName=javacodegeeks-queue" 23:24:11.808 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "HTTP/1.1 200 OK[\r][\n]" 23:24:11.808 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "x-amzn-RequestId: 1e2a2440-b612-51d8-bd49-7dd54c1109ba[\r][\n]" 23:24:11.808 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "Date: Tue, 17 Aug 2021 17:54:11 GMT[\r][\n]" 23:24:11.808 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "Content-Type: text/xml[\r][\n]" 23:24:11.808 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "Content-Length: 339[\r][\n]" 23:24:11.808 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "[\r][\n]" 23:24:11.812 [main] DEBUG org.apache.http.headers - http-outgoing-0 << HTTP/1.1 200 OK 23:24:11.812 [main] DEBUG org.apache.http.headers - http-outgoing-0 << x-amzn-RequestId: 1e2a2440-b612-51d8-bd49-7dd54c1109ba 23:24:11.812 [main] DEBUG org.apache.http.headers - http-outgoing-0 << Date: Tue, 17 Aug 2021 17:54:11 GMT 23:24:11.812 [main] DEBUG org.apache.http.headers - http-outgoing-0 << Content-Type: text/xml 23:24:11.812 [main] DEBUG org.apache.http.headers - http-outgoing-0 << Content-Length: 339 23:24:11.825 [main] DEBUG org.apache.http.impl.execchain.MainClientExec - Connection can be kept alive for 60000 MILLISECONDS 23:24:11.853 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "https://sqs.us-east-1.amazonaws.com/266748533148/javacodegeeks-queue1e2a2440-b612-51d8-bd49-7dd54c1109ba" 23:24:11.869 [main] DEBUG org.apache.http.impl.conn.PoolingHttpClientConnectionManager - Connection [id: 0][route: {s}->https://sqs.us-east-1.amazonaws.com:443] can be kept alive for 60.0 seconds 23:24:11.869 [main] DEBUG org.apache.http.impl.conn.PoolingHttpClientConnectionManager - Connection released: [id: 0][route: {s}->https://sqs.us-east-1.amazonaws.com:443][total kept alive: 1; route allocated: 1 of 50; total allocated: 1 of 50] 23:24:11.870 [main] DEBUG com.amazonaws.request - Received successful response: 200, AWS Request ID: 1e2a2440-b612-51d8-bd49-7dd54c1109ba 23:24:11.870 [main] DEBUG com.amazonaws.requestId - x-amzn-RequestId: 1e2a2440-b612-51d8-bd49-7dd54c1109ba https://sqs.us-east-1.amazonaws.com/266748533148/javacodegeeks-queue 23:24:11.872 [main] DEBUG com.amazonaws.request - Sending Request: POST https://sqs.us-east-1.amazonaws.com / Parameters: ({"Action":["CreateQueue"],"Version":["2012-11-05"],"QueueName":["javacodegeeks-queue.fifo"],"Attribute.1.Name":["FifoQueue"],"Attribute.1.Value":["true"],"Attribute.2.Name":["ContentBasedDeduplication"],"Attribute.2.Value":["true"]}Headers: (User-Agent: aws-sdk-java/1.11.290 Mac_OS_X/10.16 Java_HotSpot(TM)_64-Bit_Server_VM/25.101-b13 java/1.8.0_101, amz-sdk-invocation-id: ae16dfe1-4f64-1ab3-6a7f-4a6959e58854, ) 23:24:11.873 [main] DEBUG com.amazonaws.auth.AWS4Signer - AWS4 Canonical Request: '"POST / amz-sdk-invocation-id:ae16dfe1-4f64-1ab3-6a7f-4a6959e58854 amz-sdk-retry:0/0/500 host:sqs.us-east-1.amazonaws.com user-agent:aws-sdk-java/1.11.290 Mac_OS_X/10.16 Java_HotSpot(TM)_64-Bit_Server_VM/25.101-b13 java/1.8.0_101 x-amz-date:20210817T175411Z amz-sdk-invocation-id;amz-sdk-retry;host;user-agent;x-amz-date 57d5d12f3ce7f63aa90e103b2f5f5f768c2d995df8e814f17b9780c29a228374" 23:24:11.873 [main] DEBUG com.amazonaws.auth.AWS4Signer - AWS4 String to Sign: '"AWS4-HMAC-SHA256 20210817T175411Z 20210817/us-east-1/sqs/aws4_request bd0e91b2876d6fc8993e14eea48ba38f3a9a5c2dafc93d05d266832be52179e0" 23:24:11.874 [main] DEBUG org.apache.http.client.protocol.RequestAddCookies - CookieSpec selected: default 23:24:11.874 [main] DEBUG org.apache.http.client.protocol.RequestAuthCache - Auth cache not set in the context 23:24:11.874 [main] DEBUG org.apache.http.impl.conn.PoolingHttpClientConnectionManager - Connection request: [route: {s}->https://sqs.us-east-1.amazonaws.com:443][total kept alive: 1; route allocated: 1 of 50; total allocated: 1 of 50] 23:24:11.875 [main] DEBUG org.apache.http.impl.conn.PoolingHttpClientConnectionManager - Connection leased: [id: 0][route: {s}->https://sqs.us-east-1.amazonaws.com:443][total kept alive: 0; route allocated: 1 of 50; total allocated: 1 of 50] 23:24:11.875 [main] DEBUG org.apache.http.impl.conn.DefaultManagedHttpClientConnection - http-outgoing-0: set socket timeout to 50000 23:24:11.875 [main] DEBUG org.apache.http.impl.execchain.MainClientExec - Executing request POST / HTTP/1.1 23:24:11.875 [main] DEBUG org.apache.http.impl.execchain.MainClientExec - Proxy auth state: UNCHALLENGED 23:24:11.875 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> POST / HTTP/1.1 23:24:11.875 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> Host: sqs.us-east-1.amazonaws.com 23:24:11.875 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> Authorization: AWS4-HMAC-SHA256 Credential=AKIAT4G3TTGOD43IBVWB/20210817/us-east-1/sqs/aws4_request, SignedHeaders=amz-sdk-invocation-id;amz-sdk-retry;host;user-agent;x-amz-date, Signature=31f61a862b35323d9762f2cf1858bbae142af26d7724955b44ed93cf4cf8d086 23:24:11.875 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> X-Amz-Date: 20210817T175411Z 23:24:11.875 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> User-Agent: aws-sdk-java/1.11.290 Mac_OS_X/10.16 Java_HotSpot(TM)_64-Bit_Server_VM/25.101-b13 java/1.8.0_101 23:24:11.875 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> amz-sdk-invocation-id: ae16dfe1-4f64-1ab3-6a7f-4a6959e58854 23:24:11.875 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> amz-sdk-retry: 0/0/500 23:24:11.875 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> Content-Type: application/x-www-form-urlencoded; charset=utf-8 23:24:11.875 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> Content-Length: 188 23:24:11.875 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> Connection: Keep-Alive 23:24:11.875 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "POST / HTTP/1.1[\r][\n]" 23:24:11.875 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "Host: sqs.us-east-1.amazonaws.com[\r][\n]" 23:24:11.875 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "Authorization: AWS4-HMAC-SHA256 Credential=AKIAT4G3TTGOD43IBVWB/20210817/us-east-1/sqs/aws4_request, SignedHeaders=amz-sdk-invocation-id;amz-sdk-retry;host;user-agent;x-amz-date, Signature=31f61a862b35323d9762f2cf1858bbae142af26d7724955b44ed93cf4cf8d086[\r][\n]" 23:24:11.875 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "X-Amz-Date: 20210817T175411Z[\r][\n]" 23:24:11.875 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "User-Agent: aws-sdk-java/1.11.290 Mac_OS_X/10.16 Java_HotSpot(TM)_64-Bit_Server_VM/25.101-b13 java/1.8.0_101[\r][\n]" 23:24:11.876 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "amz-sdk-invocation-id: ae16dfe1-4f64-1ab3-6a7f-4a6959e58854[\r][\n]" 23:24:11.876 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "amz-sdk-retry: 0/0/500[\r][\n]" 23:24:11.876 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "Content-Type: application/x-www-form-urlencoded; charset=utf-8[\r][\n]" 23:24:11.876 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "Content-Length: 188[\r][\n]" 23:24:11.876 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "Connection: Keep-Alive[\r][\n]" 23:24:11.876 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "[\r][\n]" 23:24:11.876 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "Action=CreateQueue&Version=2012-11-05&QueueName=javacodegeeks-queue.fifo&Attribute.1.Name=FifoQueue&Attribute.1.Value=true&Attribute.2.Name=ContentBasedDeduplication&Attribute.2.Value=true" 23:24:12.338 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "HTTP/1.1 200 OK[\r][\n]" 23:24:12.339 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "x-amzn-RequestId: fd9d824b-4800-5ed1-b98d-dbdeb204c6b3[\r][\n]" 23:24:12.339 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "Date: Tue, 17 Aug 2021 17:54:12 GMT[\r][\n]" 23:24:12.339 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "Content-Type: text/xml[\r][\n]" 23:24:12.339 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "Content-Length: 344[\r][\n]" 23:24:12.339 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "[\r][\n]" 23:24:12.339 [main] DEBUG org.apache.http.headers - http-outgoing-0 << HTTP/1.1 200 OK 23:24:12.339 [main] DEBUG org.apache.http.headers - http-outgoing-0 << x-amzn-RequestId: fd9d824b-4800-5ed1-b98d-dbdeb204c6b3 23:24:12.339 [main] DEBUG org.apache.http.headers - http-outgoing-0 << Date: Tue, 17 Aug 2021 17:54:12 GMT 23:24:12.339 [main] DEBUG org.apache.http.headers - http-outgoing-0 << Content-Type: text/xml 23:24:12.339 [main] DEBUG org.apache.http.headers - http-outgoing-0 << Content-Length: 344 23:24:12.340 [main] DEBUG org.apache.http.impl.execchain.MainClientExec - Connection can be kept alive for 60000 MILLISECONDS 23:24:12.341 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "https://sqs.us-east-1.amazonaws.com/266748533148/javacodegeeks-queue.fifofd9d824b-4800-5ed1-b98d-dbdeb204c6b3" 23:24:12.342 [main] DEBUG org.apache.http.impl.conn.PoolingHttpClientConnectionManager - Connection [id: 0][route: {s}->https://sqs.us-east-1.amazonaws.com:443] can be kept alive for 60.0 seconds 23:24:12.343 [main] DEBUG org.apache.http.impl.conn.PoolingHttpClientConnectionManager - Connection released: [id: 0][route: {s}->https://sqs.us-east-1.amazonaws.com:443][total kept alive: 1; route allocated: 1 of 50; total allocated: 1 of 50] 23:24:12.343 [main] DEBUG com.amazonaws.request - Received successful response: 200, AWS Request ID: fd9d824b-4800-5ed1-b98d-dbdeb204c6b3 23:24:12.343 [main] DEBUG com.amazonaws.requestId - x-amzn-RequestId: fd9d824b-4800-5ed1-b98d-dbdeb204c6b3 https://sqs.us-east-1.amazonaws.com/266748533148/javacodegeeks-queue.fifo 23:24:12.344 [main] DEBUG com.amazonaws.request - Sending Request: POST https://sqs.us-east-1.amazonaws.com / Parameters: ({"Action":["CreateQueue"],"Version":["2012-11-05"],"QueueName":["javacodegeeks-dead-letter-queue"]}Headers: (User-Agent: aws-sdk-java/1.11.290 Mac_OS_X/10.16 Java_HotSpot(TM)_64-Bit_Server_VM/25.101-b13 java/1.8.0_101, amz-sdk-invocation-id: d714ff27-627a-1917-f052-01acf5754bc8, ) 23:24:12.345 [main] DEBUG com.amazonaws.auth.AWS4Signer - AWS4 Canonical Request: '"POST / amz-sdk-invocation-id:d714ff27-627a-1917-f052-01acf5754bc8 amz-sdk-retry:0/0/500 host:sqs.us-east-1.amazonaws.com user-agent:aws-sdk-java/1.11.290 Mac_OS_X/10.16 Java_HotSpot(TM)_64-Bit_Server_VM/25.101-b13 java/1.8.0_101 x-amz-date:20210817T175412Z amz-sdk-invocation-id;amz-sdk-retry;host;user-agent;x-amz-date 6ef189c961dead6a9559d005225ee3322aae303fa11c469dd19eb0f47273e3fe" 23:24:12.345 [main] DEBUG com.amazonaws.auth.AWS4Signer - AWS4 String to Sign: '"AWS4-HMAC-SHA256 20210817T175412Z 20210817/us-east-1/sqs/aws4_request 4c8c1861bab7ec2ba2deeb7e0140ffd3e46d3436fe688e517238130e3438d815" 23:24:12.346 [main] DEBUG org.apache.http.client.protocol.RequestAddCookies - CookieSpec selected: default 23:24:12.346 [main] DEBUG org.apache.http.client.protocol.RequestAuthCache - Auth cache not set in the context 23:24:12.346 [main] DEBUG org.apache.http.impl.conn.PoolingHttpClientConnectionManager - Connection request: [route: {s}->https://sqs.us-east-1.amazonaws.com:443][total kept alive: 1; route allocated: 1 of 50; total allocated: 1 of 50] 23:24:12.347 [main] DEBUG org.apache.http.impl.conn.PoolingHttpClientConnectionManager - Connection leased: [id: 0][route: {s}->https://sqs.us-east-1.amazonaws.com:443][total kept alive: 0; route allocated: 1 of 50; total allocated: 1 of 50] 23:24:12.347 [main] DEBUG org.apache.http.impl.conn.DefaultManagedHttpClientConnection - http-outgoing-0: set socket timeout to 50000 23:24:12.347 [main] DEBUG org.apache.http.impl.execchain.MainClientExec - Executing request POST / HTTP/1.1 23:24:12.347 [main] DEBUG org.apache.http.impl.execchain.MainClientExec - Proxy auth state: UNCHALLENGED 23:24:12.347 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> POST / HTTP/1.1 23:24:12.347 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> Host: sqs.us-east-1.amazonaws.com 23:24:12.348 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> Authorization: AWS4-HMAC-SHA256 Credential=AKIAT4G3TTGOD43IBVWB/20210817/us-east-1/sqs/aws4_request, SignedHeaders=amz-sdk-invocation-id;amz-sdk-retry;host;user-agent;x-amz-date, Signature=638adbba3318353e75b7a37e30329317d8de34966329625dca3b00fa5c3cea1f 23:24:12.348 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> X-Amz-Date: 20210817T175412Z 23:24:12.348 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> User-Agent: aws-sdk-java/1.11.290 Mac_OS_X/10.16 Java_HotSpot(TM)_64-Bit_Server_VM/25.101-b13 java/1.8.0_101 23:24:12.348 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> amz-sdk-invocation-id: d714ff27-627a-1917-f052-01acf5754bc8 23:24:12.348 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> amz-sdk-retry: 0/0/500 23:24:12.348 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> Content-Type: application/x-www-form-urlencoded; charset=utf-8 23:24:12.348 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> Content-Length: 79 23:24:12.348 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> Connection: Keep-Alive 23:24:12.348 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "POST / HTTP/1.1[\r][\n]" 23:24:12.348 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "Host: sqs.us-east-1.amazonaws.com[\r][\n]" 23:24:12.348 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "Authorization: AWS4-HMAC-SHA256 Credential=AKIAT4G3TTGOD43IBVWB/20210817/us-east-1/sqs/aws4_request, SignedHeaders=amz-sdk-invocation-id;amz-sdk-retry;host;user-agent;x-amz-date, Signature=638adbba3318353e75b7a37e30329317d8de34966329625dca3b00fa5c3cea1f[\r][\n]" 23:24:12.348 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "X-Amz-Date: 20210817T175412Z[\r][\n]" 23:24:12.348 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "User-Agent: aws-sdk-java/1.11.290 Mac_OS_X/10.16 Java_HotSpot(TM)_64-Bit_Server_VM/25.101-b13 java/1.8.0_101[\r][\n]" 23:24:12.348 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "amz-sdk-invocation-id: d714ff27-627a-1917-f052-01acf5754bc8[\r][\n]" 23:24:12.348 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "amz-sdk-retry: 0/0/500[\r][\n]" 23:24:12.348 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "Content-Type: application/x-www-form-urlencoded; charset=utf-8[\r][\n]" 23:24:12.348 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "Content-Length: 79[\r][\n]" 23:24:12.348 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "Connection: Keep-Alive[\r][\n]" 23:24:12.348 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "[\r][\n]" 23:24:12.348 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "Action=CreateQueue&Version=2012-11-05&QueueName=javacodegeeks-dead-letter-queue" 23:24:12.759 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "HTTP/1.1 200 OK[\r][\n]" 23:24:12.760 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "x-amzn-RequestId: a2b0477d-d09e-57bc-b16b-1ee82a9aefde[\r][\n]" 23:24:12.760 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "Date: Tue, 17 Aug 2021 17:54:12 GMT[\r][\n]" 23:24:12.760 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "Content-Type: text/xml[\r][\n]" 23:24:12.760 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "Content-Length: 351[\r][\n]" 23:24:12.760 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "[\r][\n]" 23:24:12.760 [main] DEBUG org.apache.http.headers - http-outgoing-0 << HTTP/1.1 200 OK 23:24:12.760 [main] DEBUG org.apache.http.headers - http-outgoing-0 << x-amzn-RequestId: a2b0477d-d09e-57bc-b16b-1ee82a9aefde 23:24:12.760 [main] DEBUG org.apache.http.headers - http-outgoing-0 << Date: Tue, 17 Aug 2021 17:54:12 GMT 23:24:12.760 [main] DEBUG org.apache.http.headers - http-outgoing-0 << Content-Type: text/xml 23:24:12.760 [main] DEBUG org.apache.http.headers - http-outgoing-0 << Content-Length: 351 23:24:12.761 [main] DEBUG org.apache.http.impl.execchain.MainClientExec - Connection can be kept alive for 60000 MILLISECONDS 23:24:12.762 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "https://sqs.us-east-1.amazonaws.com/266748533148/javacodegeeks-dead-letter-queuea2b0477d-d09e-57bc-b16b-1ee82a9aefde" 23:24:12.763 [main] DEBUG org.apache.http.impl.conn.PoolingHttpClientConnectionManager - Connection [id: 0][route: {s}->https://sqs.us-east-1.amazonaws.com:443] can be kept alive for 60.0 seconds 23:24:12.763 [main] DEBUG org.apache.http.impl.conn.PoolingHttpClientConnectionManager - Connection released: [id: 0][route: {s}->https://sqs.us-east-1.amazonaws.com:443][total kept alive: 1; route allocated: 1 of 50; total allocated: 1 of 50] 23:24:12.763 [main] DEBUG com.amazonaws.request - Received successful response: 200, AWS Request ID: a2b0477d-d09e-57bc-b16b-1ee82a9aefde 23:24:12.763 [main] DEBUG com.amazonaws.requestId - x-amzn-RequestId: a2b0477d-d09e-57bc-b16b-1ee82a9aefde 23:24:12.767 [main] DEBUG com.amazonaws.request - Sending Request: POST https://sqs.us-east-1.amazonaws.com /266748533148/javacodegeeks-dead-letter-queue Parameters: ({"Action":["GetQueueAttributes"],"Version":["2012-11-05"],"AttributeName.1":["QueueArn"]}Headers: (User-Agent: aws-sdk-java/1.11.290 Mac_OS_X/10.16 Java_HotSpot(TM)_64-Bit_Server_VM/25.101-b13 java/1.8.0_101, amz-sdk-invocation-id: 2c66a6b2-89ab-8f38-b8d1-96a966296fee, ) 23:24:12.768 [main] DEBUG com.amazonaws.auth.AWS4Signer - AWS4 Canonical Request: '"POST /266748533148/javacodegeeks-dead-letter-queue amz-sdk-invocation-id:2c66a6b2-89ab-8f38-b8d1-96a966296fee amz-sdk-retry:0/0/500 host:sqs.us-east-1.amazonaws.com user-agent:aws-sdk-java/1.11.290 Mac_OS_X/10.16 Java_HotSpot(TM)_64-Bit_Server_VM/25.101-b13 java/1.8.0_101 x-amz-date:20210817T175412Z amz-sdk-invocation-id;amz-sdk-retry;host;user-agent;x-amz-date 77913eabfa8c768a1039fc9b8ffd13543a2e66393c32de59dc4b5cd8b7155c91" 23:24:12.768 [main] DEBUG com.amazonaws.auth.AWS4Signer - AWS4 String to Sign: '"AWS4-HMAC-SHA256 20210817T175412Z 20210817/us-east-1/sqs/aws4_request 957a67dfd9d843f16d1dff38670129164a76b7e3ce723d92848d6d4cb5fe36f5" 23:24:12.768 [main] DEBUG org.apache.http.client.protocol.RequestAddCookies - CookieSpec selected: default 23:24:12.768 [main] DEBUG org.apache.http.client.protocol.RequestAuthCache - Auth cache not set in the context 23:24:12.768 [main] DEBUG org.apache.http.impl.conn.PoolingHttpClientConnectionManager - Connection request: [route: {s}->https://sqs.us-east-1.amazonaws.com:443][total kept alive: 1; route allocated: 1 of 50; total allocated: 1 of 50] 23:24:12.769 [main] DEBUG org.apache.http.impl.conn.PoolingHttpClientConnectionManager - Connection leased: [id: 0][route: {s}->https://sqs.us-east-1.amazonaws.com:443][total kept alive: 0; route allocated: 1 of 50; total allocated: 1 of 50] 23:24:12.769 [main] DEBUG org.apache.http.impl.conn.DefaultManagedHttpClientConnection - http-outgoing-0: set socket timeout to 50000 23:24:12.769 [main] DEBUG org.apache.http.impl.execchain.MainClientExec - Executing request POST /266748533148/javacodegeeks-dead-letter-queue HTTP/1.1 23:24:12.769 [main] DEBUG org.apache.http.impl.execchain.MainClientExec - Proxy auth state: UNCHALLENGED 23:24:12.769 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> POST /266748533148/javacodegeeks-dead-letter-queue HTTP/1.1 23:24:12.769 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> Host: sqs.us-east-1.amazonaws.com 23:24:12.769 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> Authorization: AWS4-HMAC-SHA256 Credential=AKIAT4G3TTGOD43IBVWB/20210817/us-east-1/sqs/aws4_request, SignedHeaders=amz-sdk-invocation-id;amz-sdk-retry;host;user-agent;x-amz-date, Signature=0c8e1979c9b2150b084833be630e8fec4634042ce86eecee9a8964f1121bc2a6 23:24:12.769 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> X-Amz-Date: 20210817T175412Z 23:24:12.769 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> User-Agent: aws-sdk-java/1.11.290 Mac_OS_X/10.16 Java_HotSpot(TM)_64-Bit_Server_VM/25.101-b13 java/1.8.0_101 23:24:12.770 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> amz-sdk-invocation-id: 2c66a6b2-89ab-8f38-b8d1-96a966296fee 23:24:12.770 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> amz-sdk-retry: 0/0/500 23:24:12.770 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> Content-Type: application/x-www-form-urlencoded; charset=utf-8 23:24:12.770 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> Content-Length: 69 23:24:12.770 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> Connection: Keep-Alive 23:24:12.770 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "POST /266748533148/javacodegeeks-dead-letter-queue HTTP/1.1[\r][\n]" 23:24:12.770 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "Host: sqs.us-east-1.amazonaws.com[\r][\n]" 23:24:12.773 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "Authorization: AWS4-HMAC-SHA256 Credential=AKIAT4G3TTGOD43IBVWB/20210817/us-east-1/sqs/aws4_request, SignedHeaders=amz-sdk-invocation-id;amz-sdk-retry;host;user-agent;x-amz-date, Signature=0c8e1979c9b2150b084833be630e8fec4634042ce86eecee9a8964f1121bc2a6[\r][\n]" 23:24:12.774 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "X-Amz-Date: 20210817T175412Z[\r][\n]" 23:24:12.774 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "User-Agent: aws-sdk-java/1.11.290 Mac_OS_X/10.16 Java_HotSpot(TM)_64-Bit_Server_VM/25.101-b13 java/1.8.0_101[\r][\n]" 23:24:12.774 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "amz-sdk-invocation-id: 2c66a6b2-89ab-8f38-b8d1-96a966296fee[\r][\n]" 23:24:12.774 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "amz-sdk-retry: 0/0/500[\r][\n]" 23:24:12.774 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "Content-Type: application/x-www-form-urlencoded; charset=utf-8[\r][\n]" 23:24:12.774 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "Content-Length: 69[\r][\n]" 23:24:12.774 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "Connection: Keep-Alive[\r][\n]" 23:24:12.774 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "[\r][\n]" 23:24:12.774 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "Action=GetQueueAttributes&Version=2012-11-05&AttributeName.1=QueueArn" 23:24:13.140 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "HTTP/1.1 200 OK[\r][\n]" 23:24:13.140 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "x-amzn-RequestId: 6019c2c5-0114-5a8a-b43e-9b50fb1192e8[\r][\n]" 23:24:13.140 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "Date: Tue, 17 Aug 2021 17:54:13 GMT[\r][\n]" 23:24:13.140 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "Content-Type: text/xml[\r][\n]" 23:24:13.140 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "Content-Length: 403[\r][\n]" 23:24:13.140 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "[\r][\n]" 23:24:13.140 [main] DEBUG org.apache.http.headers - http-outgoing-0 << HTTP/1.1 200 OK 23:24:13.140 [main] DEBUG org.apache.http.headers - http-outgoing-0 << x-amzn-RequestId: 6019c2c5-0114-5a8a-b43e-9b50fb1192e8 23:24:13.140 [main] DEBUG org.apache.http.headers - http-outgoing-0 << Date: Tue, 17 Aug 2021 17:54:13 GMT 23:24:13.140 [main] DEBUG org.apache.http.headers - http-outgoing-0 << Content-Type: text/xml 23:24:13.140 [main] DEBUG org.apache.http.headers - http-outgoing-0 << Content-Length: 403 23:24:13.140 [main] DEBUG org.apache.http.impl.execchain.MainClientExec - Connection can be kept alive for 60000 MILLISECONDS 23:24:13.141 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "QueueArnarn:aws:sqs:us-east-1:266748533148:javacodegeeks-dead-letter-queue6019c2c5-0114-5a8a-b43e-9b50fb1192e8" 23:24:13.144 [main] DEBUG org.apache.http.impl.conn.PoolingHttpClientConnectionManager - Connection [id: 0][route: {s}->https://sqs.us-east-1.amazonaws.com:443] can be kept alive for 60.0 seconds 23:24:13.144 [main] DEBUG org.apache.http.impl.conn.PoolingHttpClientConnectionManager - Connection released: [id: 0][route: {s}->https://sqs.us-east-1.amazonaws.com:443][total kept alive: 1; route allocated: 1 of 50; total allocated: 1 of 50] 23:24:13.145 [main] DEBUG com.amazonaws.request - Received successful response: 200, AWS Request ID: 6019c2c5-0114-5a8a-b43e-9b50fb1192e8 23:24:13.145 [main] DEBUG com.amazonaws.requestId - x-amzn-RequestId: 6019c2c5-0114-5a8a-b43e-9b50fb1192e8 23:24:13.147 [main] DEBUG com.amazonaws.request - Sending Request: POST https://sqs.us-east-1.amazonaws.com /266748533148/javacodegeeks-queue Parameters: ({"Action":["SetQueueAttributes"],"Version":["2012-11-05"],"Attribute.1.Name":["RedrivePolicy"],"Attribute.1.Value":["{\"maxReceiveCount\":\"2\", \"deadLetterTargetArn\":\"arn:aws:sqs:us-east-1:266748533148:javacodegeeks-dead-letter-queue\"}"]}Headers: (User-Agent: aws-sdk-java/1.11.290 Mac_OS_X/10.16 Java_HotSpot(TM)_64-Bit_Server_VM/25.101-b13 java/1.8.0_101, amz-sdk-invocation-id: 45fe71aa-54da-3bd6-dfca-97dab262165d, ) 23:24:13.148 [main] DEBUG com.amazonaws.auth.AWS4Signer - AWS4 Canonical Request: '"POST /266748533148/javacodegeeks-queue amz-sdk-invocation-id:45fe71aa-54da-3bd6-dfca-97dab262165d amz-sdk-retry:0/0/500 host:sqs.us-east-1.amazonaws.com user-agent:aws-sdk-java/1.11.290 Mac_OS_X/10.16 Java_HotSpot(TM)_64-Bit_Server_VM/25.101-b13 java/1.8.0_101 x-amz-date:20210817T175413Z amz-sdk-invocation-id;amz-sdk-retry;host;user-agent;x-amz-date 5534521188d7177fb73c79cade135347f864bfd69f7b205d2627b84e7a8de5c6" 23:24:13.148 [main] DEBUG com.amazonaws.auth.AWS4Signer - AWS4 String to Sign: '"AWS4-HMAC-SHA256 20210817T175413Z 20210817/us-east-1/sqs/aws4_request 6ddf9da8ed20611715264fb803f30c44bb1b2bab8745d737fa50545e52851b48" 23:24:13.150 [main] DEBUG org.apache.http.client.protocol.RequestAddCookies - CookieSpec selected: default 23:24:13.150 [main] DEBUG org.apache.http.client.protocol.RequestAuthCache - Auth cache not set in the context 23:24:13.150 [main] DEBUG org.apache.http.impl.conn.PoolingHttpClientConnectionManager - Connection request: [route: {s}->https://sqs.us-east-1.amazonaws.com:443][total kept alive: 1; route allocated: 1 of 50; total allocated: 1 of 50] 23:24:13.150 [main] DEBUG org.apache.http.impl.conn.PoolingHttpClientConnectionManager - Connection leased: [id: 0][route: {s}->https://sqs.us-east-1.amazonaws.com:443][total kept alive: 0; route allocated: 1 of 50; total allocated: 1 of 50] 23:24:13.150 [main] DEBUG org.apache.http.impl.conn.DefaultManagedHttpClientConnection - http-outgoing-0: set socket timeout to 50000 23:24:13.150 [main] DEBUG org.apache.http.impl.execchain.MainClientExec - Executing request POST /266748533148/javacodegeeks-queue HTTP/1.1 23:24:13.150 [main] DEBUG org.apache.http.impl.execchain.MainClientExec - Proxy auth state: UNCHALLENGED 23:24:13.151 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> POST /266748533148/javacodegeeks-queue HTTP/1.1 23:24:13.151 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> Host: sqs.us-east-1.amazonaws.com 23:24:13.151 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> Authorization: AWS4-HMAC-SHA256 Credential=AKIAT4G3TTGOD43IBVWB/20210817/us-east-1/sqs/aws4_request, SignedHeaders=amz-sdk-invocation-id;amz-sdk-retry;host;user-agent;x-amz-date, Signature=8912d38c04b64ba9b3f306abd585a994c35b15ee96574b547d55bfd4a0ad3b72 23:24:13.151 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> X-Amz-Date: 20210817T175413Z 23:24:13.151 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> User-Agent: aws-sdk-java/1.11.290 Mac_OS_X/10.16 Java_HotSpot(TM)_64-Bit_Server_VM/25.101-b13 java/1.8.0_101 23:24:13.151 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> amz-sdk-invocation-id: 45fe71aa-54da-3bd6-dfca-97dab262165d 23:24:13.151 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> amz-sdk-retry: 0/0/500 23:24:13.151 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> Content-Type: application/x-www-form-urlencoded; charset=utf-8 23:24:13.151 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> Content-Length: 245 23:24:13.151 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> Connection: Keep-Alive 23:24:13.151 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "POST /266748533148/javacodegeeks-queue HTTP/1.1[\r][\n]" 23:24:13.151 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "Host: sqs.us-east-1.amazonaws.com[\r][\n]" 23:24:13.151 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "Authorization: AWS4-HMAC-SHA256 Credential=AKIAT4G3TTGOD43IBVWB/20210817/us-east-1/sqs/aws4_request, SignedHeaders=amz-sdk-invocation-id;amz-sdk-retry;host;user-agent;x-amz-date, Signature=8912d38c04b64ba9b3f306abd585a994c35b15ee96574b547d55bfd4a0ad3b72[\r][\n]" 23:24:13.151 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "X-Amz-Date: 20210817T175413Z[\r][\n]" 23:24:13.151 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "User-Agent: aws-sdk-java/1.11.290 Mac_OS_X/10.16 Java_HotSpot(TM)_64-Bit_Server_VM/25.101-b13 java/1.8.0_101[\r][\n]" 23:24:13.152 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "amz-sdk-invocation-id: 45fe71aa-54da-3bd6-dfca-97dab262165d[\r][\n]" 23:24:13.152 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "amz-sdk-retry: 0/0/500[\r][\n]" 23:24:13.152 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "Content-Type: application/x-www-form-urlencoded; charset=utf-8[\r][\n]" 23:24:13.152 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "Content-Length: 245[\r][\n]" 23:24:13.152 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "Connection: Keep-Alive[\r][\n]" 23:24:13.152 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "[\r][\n]" 23:24:13.152 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "Action=SetQueueAttributes&Version=2012-11-05&Attribute.1.Name=RedrivePolicy&Attribute.1.Value=%7B%22maxReceiveCount%22%3A%222%22%2C+%22deadLetterTargetArn%22%3A%22arn%3Aaws%3Asqs%3Aus-east-1%3A266748533148%3Ajavacodegeeks-dead-letter-queue%22%7D" 23:24:13.547 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "HTTP/1.1 200 OK[\r][\n]" 23:24:13.547 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "x-amzn-RequestId: e2bbaa55-e2d4-5005-90b3-f3c018d10867[\r][\n]" 23:24:13.547 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "Date: Tue, 17 Aug 2021 17:54:13 GMT[\r][\n]" 23:24:13.547 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "Content-Type: text/xml[\r][\n]" 23:24:13.548 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "Content-Length: 225[\r][\n]" 23:24:13.548 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "[\r][\n]" 23:24:13.548 [main] DEBUG org.apache.http.headers - http-outgoing-0 << HTTP/1.1 200 OK 23:24:13.548 [main] DEBUG org.apache.http.headers - http-outgoing-0 << x-amzn-RequestId: e2bbaa55-e2d4-5005-90b3-f3c018d10867 23:24:13.548 [main] DEBUG org.apache.http.headers - http-outgoing-0 << Date: Tue, 17 Aug 2021 17:54:13 GMT 23:24:13.548 [main] DEBUG org.apache.http.headers - http-outgoing-0 << Content-Type: text/xml 23:24:13.548 [main] DEBUG org.apache.http.headers - http-outgoing-0 << Content-Length: 225 23:24:13.548 [main] DEBUG org.apache.http.impl.execchain.MainClientExec - Connection can be kept alive for 60000 MILLISECONDS 23:24:13.549 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "e2bbaa55-e2d4-5005-90b3-f3c018d10867" 23:24:13.550 [main] DEBUG org.apache.http.impl.conn.PoolingHttpClientConnectionManager - Connection [id: 0][route: {s}->https://sqs.us-east-1.amazonaws.com:443] can be kept alive for 60.0 seconds 23:24:13.550 [main] DEBUG org.apache.http.impl.conn.PoolingHttpClientConnectionManager - Connection released: [id: 0][route: {s}->https://sqs.us-east-1.amazonaws.com:443][total kept alive: 1; route allocated: 1 of 50; total allocated: 1 of 50] 23:24:13.550 [main] DEBUG com.amazonaws.request - Received successful response: 200, AWS Request ID: e2bbaa55-e2d4-5005-90b3-f3c018d10867 23:24:13.551 [main] DEBUG com.amazonaws.requestId - x-amzn-RequestId: e2bbaa55-e2d4-5005-90b3-f3c018d10867 23:24:13.554 [main] DEBUG com.amazonaws.request - Sending Request: POST https://sqs.us-east-1.amazonaws.com /266748533148/javacodegeeks-queue Parameters: ({"Action":["SendMessage"],"Version":["2012-11-05"],"MessageBody":["simple message."],"DelaySeconds":["30"],"MessageAttribute.1.Name":["AttributeOne"],"MessageAttribute.1.Value.StringValue":["This is an attribute"],"MessageAttribute.1.Value.DataType":["String"]}Headers: (User-Agent: aws-sdk-java/1.11.290 Mac_OS_X/10.16 Java_HotSpot(TM)_64-Bit_Server_VM/25.101-b13 java/1.8.0_101, amz-sdk-invocation-id: 5abb2483-b5d5-419e-f1bb-c762209cd586, ) 23:24:13.555 [main] DEBUG com.amazonaws.auth.AWS4Signer - AWS4 Canonical Request: '"POST /266748533148/javacodegeeks-queue amz-sdk-invocation-id:5abb2483-b5d5-419e-f1bb-c762209cd586 amz-sdk-retry:0/0/500 host:sqs.us-east-1.amazonaws.com user-agent:aws-sdk-java/1.11.290 Mac_OS_X/10.16 Java_HotSpot(TM)_64-Bit_Server_VM/25.101-b13 java/1.8.0_101 x-amz-date:20210817T175413Z amz-sdk-invocation-id;amz-sdk-retry;host;user-agent;x-amz-date f0eb8be7b16200be4b2eea6adf85ff88f533e831c073870694cdf7a49d4c489c" 23:24:13.555 [main] DEBUG com.amazonaws.auth.AWS4Signer - AWS4 String to Sign: '"AWS4-HMAC-SHA256 20210817T175413Z 20210817/us-east-1/sqs/aws4_request cbbbb001b0153baeb4f8e42c0fe081b2e664a74bdd4c6d66acf96c2255bff0dc" 23:24:13.556 [main] DEBUG org.apache.http.client.protocol.RequestAddCookies - CookieSpec selected: default 23:24:13.556 [main] DEBUG org.apache.http.client.protocol.RequestAuthCache - Auth cache not set in the context 23:24:13.556 [main] DEBUG org.apache.http.impl.conn.PoolingHttpClientConnectionManager - Connection request: [route: {s}->https://sqs.us-east-1.amazonaws.com:443][total kept alive: 1; route allocated: 1 of 50; total allocated: 1 of 50] 23:24:13.556 [main] DEBUG org.apache.http.impl.conn.PoolingHttpClientConnectionManager - Connection leased: [id: 0][route: {s}->https://sqs.us-east-1.amazonaws.com:443][total kept alive: 0; route allocated: 1 of 50; total allocated: 1 of 50] 23:24:13.556 [main] DEBUG org.apache.http.impl.conn.DefaultManagedHttpClientConnection - http-outgoing-0: set socket timeout to 50000 23:24:13.556 [main] DEBUG org.apache.http.impl.execchain.MainClientExec - Executing request POST /266748533148/javacodegeeks-queue HTTP/1.1 23:24:13.556 [main] DEBUG org.apache.http.impl.execchain.MainClientExec - Proxy auth state: UNCHALLENGED 23:24:13.557 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> POST /266748533148/javacodegeeks-queue HTTP/1.1 23:24:13.557 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> Host: sqs.us-east-1.amazonaws.com 23:24:13.557 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> Authorization: AWS4-HMAC-SHA256 Credential=AKIAT4G3TTGOD43IBVWB/20210817/us-east-1/sqs/aws4_request, SignedHeaders=amz-sdk-invocation-id;amz-sdk-retry;host;user-agent;x-amz-date, Signature=f07ea018c6ff048e28bd9a1c25a2e379499a80ad7c2f5b5772ffb8d63a23d860 23:24:13.557 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> X-Amz-Date: 20210817T175413Z 23:24:13.557 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> User-Agent: aws-sdk-java/1.11.290 Mac_OS_X/10.16 Java_HotSpot(TM)_64-Bit_Server_VM/25.101-b13 java/1.8.0_101 23:24:13.557 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> amz-sdk-invocation-id: 5abb2483-b5d5-419e-f1bb-c762209cd586 23:24:13.557 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> amz-sdk-retry: 0/0/500 23:24:13.557 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> Content-Type: application/x-www-form-urlencoded; charset=utf-8 23:24:13.557 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> Content-Length: 217 23:24:13.557 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> Connection: Keep-Alive 23:24:13.557 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "POST /266748533148/javacodegeeks-queue HTTP/1.1[\r][\n]" 23:24:13.557 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "Host: sqs.us-east-1.amazonaws.com[\r][\n]" 23:24:13.557 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "Authorization: AWS4-HMAC-SHA256 Credential=AKIAT4G3TTGOD43IBVWB/20210817/us-east-1/sqs/aws4_request, SignedHeaders=amz-sdk-invocation-id;amz-sdk-retry;host;user-agent;x-amz-date, Signature=f07ea018c6ff048e28bd9a1c25a2e379499a80ad7c2f5b5772ffb8d63a23d860[\r][\n]" 23:24:13.557 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "X-Amz-Date: 20210817T175413Z[\r][\n]" 23:24:13.557 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "User-Agent: aws-sdk-java/1.11.290 Mac_OS_X/10.16 Java_HotSpot(TM)_64-Bit_Server_VM/25.101-b13 java/1.8.0_101[\r][\n]" 23:24:13.557 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "amz-sdk-invocation-id: 5abb2483-b5d5-419e-f1bb-c762209cd586[\r][\n]" 23:24:13.557 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "amz-sdk-retry: 0/0/500[\r][\n]" 23:24:13.557 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "Content-Type: application/x-www-form-urlencoded; charset=utf-8[\r][\n]" 23:24:13.557 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "Content-Length: 217[\r][\n]" 23:24:13.557 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "Connection: Keep-Alive[\r][\n]" 23:24:13.557 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "[\r][\n]" 23:24:13.558 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "Action=SendMessage&Version=2012-11-05&MessageBody=simple+message.&DelaySeconds=30&MessageAttribute.1.Name=AttributeOne&MessageAttribute.1.Value.StringValue=This+is+an+attribute&MessageAttribute.1.Value.DataType=String" 23:24:13.972 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "HTTP/1.1 200 OK[\r][\n]" 23:24:13.972 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "x-amzn-RequestId: e7990cb2-1b6c-58b1-9f7f-5527e16960d3[\r][\n]" 23:24:13.972 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "Date: Tue, 17 Aug 2021 17:54:14 GMT[\r][\n]" 23:24:13.972 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "Content-Type: text/xml[\r][\n]" 23:24:13.972 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "Content-Length: 459[\r][\n]" 23:24:13.972 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "[\r][\n]" 23:24:13.972 [main] DEBUG org.apache.http.headers - http-outgoing-0 << HTTP/1.1 200 OK 23:24:13.972 [main] DEBUG org.apache.http.headers - http-outgoing-0 << x-amzn-RequestId: e7990cb2-1b6c-58b1-9f7f-5527e16960d3 23:24:13.972 [main] DEBUG org.apache.http.headers - http-outgoing-0 << Date: Tue, 17 Aug 2021 17:54:14 GMT 23:24:13.972 [main] DEBUG org.apache.http.headers - http-outgoing-0 << Content-Type: text/xml 23:24:13.972 [main] DEBUG org.apache.http.headers - http-outgoing-0 << Content-Length: 459 23:24:13.972 [main] DEBUG org.apache.http.impl.execchain.MainClientExec - Connection can be kept alive for 60000 MILLISECONDS 23:24:13.977 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "7c0fb32b-1b4f-4ef7-9f4f-0817ab56d128e7d284bc7f26f94120b958785ab015de3dfdbd843c92cf04a715a6e6b1d85c08e7990cb2-1b6c-58b1-9f7f-5527e16960d3" 23:24:13.979 [main] DEBUG org.apache.http.impl.conn.PoolingHttpClientConnectionManager - Connection [id: 0][route: {s}->https://sqs.us-east-1.amazonaws.com:443] can be kept alive for 60.0 seconds 23:24:13.979 [main] DEBUG org.apache.http.impl.conn.PoolingHttpClientConnectionManager - Connection released: [id: 0][route: {s}->https://sqs.us-east-1.amazonaws.com:443][total kept alive: 1; route allocated: 1 of 50; total allocated: 1 of 50] 23:24:13.980 [main] DEBUG com.amazonaws.request - Received successful response: 200, AWS Request ID: e7990cb2-1b6c-58b1-9f7f-5527e16960d3 23:24:13.980 [main] DEBUG com.amazonaws.requestId - x-amzn-RequestId: e7990cb2-1b6c-58b1-9f7f-5527e16960d3 23:24:13.980 [main] DEBUG com.amazonaws.services.sqs.MessageMD5ChecksumHandler - Message body: simple message. 23:24:13.981 [main] DEBUG com.amazonaws.services.sqs.MessageMD5ChecksumHandler - Expected MD5 of message body: e7d284bc7f26f94120b958785ab015de 23:24:13.981 [main] DEBUG com.amazonaws.services.sqs.MessageMD5ChecksumHandler - Message attribtues: {AttributeOne={StringValue: This is an attribute,StringListValues: [],BinaryListValues: [],DataType: String}} 23:24:13.981 [main] DEBUG com.amazonaws.services.sqs.MessageMD5ChecksumHandler - Expected MD5 of message attributes: 3dfdbd843c92cf04a715a6e6b1d85c08 23:24:13.982 [main] DEBUG com.amazonaws.request - Sending Request: POST https://sqs.us-east-1.amazonaws.com /266748533148/javacodegeeks-queue.fifo Parameters: ({"Action":["SendMessage"],"Version":["2012-11-05"],"MessageBody":["FIFO Queue"],"MessageAttribute.1.Name":["AttributeOne"],"MessageAttribute.1.Value.StringValue":["This is an attribute"],"MessageAttribute.1.Value.DataType":["String"],"MessageGroupId":["javacodegeeks-group-1"]}Headers: (User-Agent: aws-sdk-java/1.11.290 Mac_OS_X/10.16 Java_HotSpot(TM)_64-Bit_Server_VM/25.101-b13 java/1.8.0_101, amz-sdk-invocation-id: 5f8f26fe-c0a9-4c17-894a-a8185f44c23b, ) 23:24:13.983 [main] DEBUG com.amazonaws.auth.AWS4Signer - AWS4 Canonical Request: '"POST /266748533148/javacodegeeks-queue.fifo amz-sdk-invocation-id:5f8f26fe-c0a9-4c17-894a-a8185f44c23b amz-sdk-retry:0/0/500 host:sqs.us-east-1.amazonaws.com user-agent:aws-sdk-java/1.11.290 Mac_OS_X/10.16 Java_HotSpot(TM)_64-Bit_Server_VM/25.101-b13 java/1.8.0_101 x-amz-date:20210817T175413Z amz-sdk-invocation-id;amz-sdk-retry;host;user-agent;x-amz-date 197f33ba370fe01dbbf7143da3f2bd8e1443770d863aa3f173a280ad7e7719d4" 23:24:13.983 [main] DEBUG com.amazonaws.auth.AWS4Signer - AWS4 String to Sign: '"AWS4-HMAC-SHA256 20210817T175413Z 20210817/us-east-1/sqs/aws4_request 3db625cae04b64a0f9cb3dde491fd04ea5777f8a57b3a9680c821ba480887aa9" 23:24:13.984 [main] DEBUG org.apache.http.client.protocol.RequestAddCookies - CookieSpec selected: default 23:24:13.984 [main] DEBUG org.apache.http.client.protocol.RequestAuthCache - Auth cache not set in the context 23:24:13.984 [main] DEBUG org.apache.http.impl.conn.PoolingHttpClientConnectionManager - Connection request: [route: {s}->https://sqs.us-east-1.amazonaws.com:443][total kept alive: 1; route allocated: 1 of 50; total allocated: 1 of 50] 23:24:13.984 [main] DEBUG org.apache.http.impl.conn.PoolingHttpClientConnectionManager - Connection leased: [id: 0][route: {s}->https://sqs.us-east-1.amazonaws.com:443][total kept alive: 0; route allocated: 1 of 50; total allocated: 1 of 50] 23:24:13.985 [main] DEBUG org.apache.http.impl.conn.DefaultManagedHttpClientConnection - http-outgoing-0: set socket timeout to 50000 23:24:13.985 [main] DEBUG org.apache.http.impl.execchain.MainClientExec - Executing request POST /266748533148/javacodegeeks-queue.fifo HTTP/1.1 23:24:13.985 [main] DEBUG org.apache.http.impl.execchain.MainClientExec - Proxy auth state: UNCHALLENGED 23:24:13.985 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> POST /266748533148/javacodegeeks-queue.fifo HTTP/1.1 23:24:13.985 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> Host: sqs.us-east-1.amazonaws.com 23:24:13.985 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> Authorization: AWS4-HMAC-SHA256 Credential=AKIAT4G3TTGOD43IBVWB/20210817/us-east-1/sqs/aws4_request, SignedHeaders=amz-sdk-invocation-id;amz-sdk-retry;host;user-agent;x-amz-date, Signature=56cadcefc7988acd70141ab85536676d89c37b7726220db13d9c1b20aaaf4860 23:24:13.985 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> X-Amz-Date: 20210817T175413Z 23:24:13.985 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> User-Agent: aws-sdk-java/1.11.290 Mac_OS_X/10.16 Java_HotSpot(TM)_64-Bit_Server_VM/25.101-b13 java/1.8.0_101 23:24:13.985 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> amz-sdk-invocation-id: 5f8f26fe-c0a9-4c17-894a-a8185f44c23b 23:24:13.985 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> amz-sdk-retry: 0/0/500 23:24:13.985 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> Content-Type: application/x-www-form-urlencoded; charset=utf-8 23:24:13.985 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> Content-Length: 233 23:24:13.985 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> Connection: Keep-Alive 23:24:13.985 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "POST /266748533148/javacodegeeks-queue.fifo HTTP/1.1[\r][\n]" 23:24:13.985 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "Host: sqs.us-east-1.amazonaws.com[\r][\n]" 23:24:13.985 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "Authorization: AWS4-HMAC-SHA256 Credential=AKIAT4G3TTGOD43IBVWB/20210817/us-east-1/sqs/aws4_request, SignedHeaders=amz-sdk-invocation-id;amz-sdk-retry;host;user-agent;x-amz-date, Signature=56cadcefc7988acd70141ab85536676d89c37b7726220db13d9c1b20aaaf4860[\r][\n]" 23:24:13.985 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "X-Amz-Date: 20210817T175413Z[\r][\n]" 23:24:13.985 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "User-Agent: aws-sdk-java/1.11.290 Mac_OS_X/10.16 Java_HotSpot(TM)_64-Bit_Server_VM/25.101-b13 java/1.8.0_101[\r][\n]" 23:24:13.985 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "amz-sdk-invocation-id: 5f8f26fe-c0a9-4c17-894a-a8185f44c23b[\r][\n]" 23:24:13.985 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "amz-sdk-retry: 0/0/500[\r][\n]" 23:24:13.986 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "Content-Type: application/x-www-form-urlencoded; charset=utf-8[\r][\n]" 23:24:13.986 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "Content-Length: 233[\r][\n]" 23:24:13.986 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "Connection: Keep-Alive[\r][\n]" 23:24:13.986 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "[\r][\n]" 23:24:13.986 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "Action=SendMessage&Version=2012-11-05&MessageBody=FIFO+Queue&MessageAttribute.1.Name=AttributeOne&MessageAttribute.1.Value.StringValue=This+is+an+attribute&MessageAttribute.1.Value.DataType=String&MessageGroupId=javacodegeeks-group-1" 23:24:14.368 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "HTTP/1.1 200 OK[\r][\n]" 23:24:14.368 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "x-amzn-RequestId: fafc392a-2ee6-505f-a52a-60bfd4e0483d[\r][\n]" 23:24:14.368 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "Date: Tue, 17 Aug 2021 17:54:14 GMT[\r][\n]" 23:24:14.368 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "Content-Type: text/xml[\r][\n]" 23:24:14.368 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "Content-Length: 512[\r][\n]" 23:24:14.368 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "[\r][\n]" 23:24:14.368 [main] DEBUG org.apache.http.headers - http-outgoing-0 << HTTP/1.1 200 OK 23:24:14.368 [main] DEBUG org.apache.http.headers - http-outgoing-0 << x-amzn-RequestId: fafc392a-2ee6-505f-a52a-60bfd4e0483d 23:24:14.369 [main] DEBUG org.apache.http.headers - http-outgoing-0 << Date: Tue, 17 Aug 2021 17:54:14 GMT 23:24:14.369 [main] DEBUG org.apache.http.headers - http-outgoing-0 << Content-Type: text/xml 23:24:14.369 [main] DEBUG org.apache.http.headers - http-outgoing-0 << Content-Length: 512 23:24:14.369 [main] DEBUG org.apache.http.impl.execchain.MainClientExec - Connection can be kept alive for 60000 MILLISECONDS 23:24:14.370 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "5fb69ba2-80e4-47e1-9a59-9d480f126ad66159d8a8645177b0f30017e2c82b7bba3dfdbd843c92cf04a715a6e6b1d85c0818863825124446959872fafc392a-2ee6-505f-a52a-60bfd4e0483d" 23:24:14.371 [main] DEBUG org.apache.http.impl.conn.PoolingHttpClientConnectionManager - Connection [id: 0][route: {s}->https://sqs.us-east-1.amazonaws.com:443] can be kept alive for 60.0 seconds 23:24:14.371 [main] DEBUG org.apache.http.impl.conn.PoolingHttpClientConnectionManager - Connection released: [id: 0][route: {s}->https://sqs.us-east-1.amazonaws.com:443][total kept alive: 1; route allocated: 1 of 50; total allocated: 1 of 50] 23:24:14.371 [main] DEBUG com.amazonaws.request - Received successful response: 200, AWS Request ID: fafc392a-2ee6-505f-a52a-60bfd4e0483d 23:24:14.371 [main] DEBUG com.amazonaws.requestId - x-amzn-RequestId: fafc392a-2ee6-505f-a52a-60bfd4e0483d 23:24:14.372 [main] DEBUG com.amazonaws.services.sqs.MessageMD5ChecksumHandler - Message body: FIFO Queue 23:24:14.372 [main] DEBUG com.amazonaws.services.sqs.MessageMD5ChecksumHandler - Expected MD5 of message body: 6159d8a8645177b0f30017e2c82b7bba 23:24:14.372 [main] DEBUG com.amazonaws.services.sqs.MessageMD5ChecksumHandler - Message attribtues: {AttributeOne={StringValue: This is an attribute,StringListValues: [],BinaryListValues: [],DataType: String}} 23:24:14.373 [main] DEBUG com.amazonaws.services.sqs.MessageMD5ChecksumHandler - Expected MD5 of message attributes: 3dfdbd843c92cf04a715a6e6b1d85c08 23:24:14.377 [main] DEBUG com.amazonaws.request - Sending Request: POST https://sqs.us-east-1.amazonaws.com /266748533148/javacodegeeks-queue.fifo Parameters: ({"Action":["SendMessageBatch"],"Version":["2012-11-05"],"SendMessageBatchRequestEntry.1.Id":["id-1"],"SendMessageBatchRequestEntry.1.MessageBody":["batch-1"],"SendMessageBatchRequestEntry.1.MessageGroupId":["javacodegeeks-group-1"],"SendMessageBatchRequestEntry.2.Id":["id-2"],"SendMessageBatchRequestEntry.2.MessageBody":["batch-2"],"SendMessageBatchRequestEntry.2.MessageGroupId":["javacodegeeks-group-1"]}Headers: (User-Agent: aws-sdk-java/1.11.290 Mac_OS_X/10.16 Java_HotSpot(TM)_64-Bit_Server_VM/25.101-b13 java/1.8.0_101, amz-sdk-invocation-id: 21512955-81d3-9ec1-8fcb-47e55bbb0d75, ) 23:24:14.378 [main] DEBUG com.amazonaws.auth.AWS4Signer - AWS4 Canonical Request: '"POST /266748533148/javacodegeeks-queue.fifo amz-sdk-invocation-id:21512955-81d3-9ec1-8fcb-47e55bbb0d75 amz-sdk-retry:0/0/500 host:sqs.us-east-1.amazonaws.com user-agent:aws-sdk-java/1.11.290 Mac_OS_X/10.16 Java_HotSpot(TM)_64-Bit_Server_VM/25.101-b13 java/1.8.0_101 x-amz-date:20210817T175414Z amz-sdk-invocation-id;amz-sdk-retry;host;user-agent;x-amz-date 4845ef29cfba5fd28e6b7749d0a05e93fdd09f0590832577556e8d8e1f8f2acf" 23:24:14.378 [main] DEBUG com.amazonaws.auth.AWS4Signer - AWS4 String to Sign: '"AWS4-HMAC-SHA256 20210817T175414Z 20210817/us-east-1/sqs/aws4_request e48b5cd1c967e9ec87fcf70b59681fb573092671e5951db044738a6f616a1f0a" 23:24:14.379 [main] DEBUG org.apache.http.client.protocol.RequestAddCookies - CookieSpec selected: default 23:24:14.379 [main] DEBUG org.apache.http.client.protocol.RequestAuthCache - Auth cache not set in the context 23:24:14.379 [main] DEBUG org.apache.http.impl.conn.PoolingHttpClientConnectionManager - Connection request: [route: {s}->https://sqs.us-east-1.amazonaws.com:443][total kept alive: 1; route allocated: 1 of 50; total allocated: 1 of 50] 23:24:14.380 [main] DEBUG org.apache.http.impl.conn.PoolingHttpClientConnectionManager - Connection leased: [id: 0][route: {s}->https://sqs.us-east-1.amazonaws.com:443][total kept alive: 0; route allocated: 1 of 50; total allocated: 1 of 50] 23:24:14.380 [main] DEBUG org.apache.http.impl.conn.DefaultManagedHttpClientConnection - http-outgoing-0: set socket timeout to 50000 23:24:14.380 [main] DEBUG org.apache.http.impl.execchain.MainClientExec - Executing request POST /266748533148/javacodegeeks-queue.fifo HTTP/1.1 23:24:14.380 [main] DEBUG org.apache.http.impl.execchain.MainClientExec - Proxy auth state: UNCHALLENGED 23:24:14.380 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> POST /266748533148/javacodegeeks-queue.fifo HTTP/1.1 23:24:14.380 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> Host: sqs.us-east-1.amazonaws.com 23:24:14.380 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> Authorization: AWS4-HMAC-SHA256 Credential=AKIAT4G3TTGOD43IBVWB/20210817/us-east-1/sqs/aws4_request, SignedHeaders=amz-sdk-invocation-id;amz-sdk-retry;host;user-agent;x-amz-date, Signature=69c46d7d5db00afe02f8b8df4fd9c92f6df16030a9fea255fc61ace7e6c638ea 23:24:14.380 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> X-Amz-Date: 20210817T175414Z 23:24:14.380 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> User-Agent: aws-sdk-java/1.11.290 Mac_OS_X/10.16 Java_HotSpot(TM)_64-Bit_Server_VM/25.101-b13 java/1.8.0_101 23:24:14.380 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> amz-sdk-invocation-id: 21512955-81d3-9ec1-8fcb-47e55bbb0d75 23:24:14.380 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> amz-sdk-retry: 0/0/500 23:24:14.380 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> Content-Type: application/x-www-form-urlencoded; charset=utf-8 23:24:14.380 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> Content-Length: 358 23:24:14.380 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> Connection: Keep-Alive 23:24:14.380 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "POST /266748533148/javacodegeeks-queue.fifo HTTP/1.1[\r][\n]" 23:24:14.380 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "Host: sqs.us-east-1.amazonaws.com[\r][\n]" 23:24:14.380 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "Authorization: AWS4-HMAC-SHA256 Credential=AKIAT4G3TTGOD43IBVWB/20210817/us-east-1/sqs/aws4_request, SignedHeaders=amz-sdk-invocation-id;amz-sdk-retry;host;user-agent;x-amz-date, Signature=69c46d7d5db00afe02f8b8df4fd9c92f6df16030a9fea255fc61ace7e6c638ea[\r][\n]" 23:24:14.381 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "X-Amz-Date: 20210817T175414Z[\r][\n]" 23:24:14.381 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "User-Agent: aws-sdk-java/1.11.290 Mac_OS_X/10.16 Java_HotSpot(TM)_64-Bit_Server_VM/25.101-b13 java/1.8.0_101[\r][\n]" 23:24:14.381 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "amz-sdk-invocation-id: 21512955-81d3-9ec1-8fcb-47e55bbb0d75[\r][\n]" 23:24:14.381 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "amz-sdk-retry: 0/0/500[\r][\n]" 23:24:14.390 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "Content-Type: application/x-www-form-urlencoded; charset=utf-8[\r][\n]" 23:24:14.390 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "Content-Length: 358[\r][\n]" 23:24:14.390 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "Connection: Keep-Alive[\r][\n]" 23:24:14.390 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "[\r][\n]" 23:24:14.390 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "Action=SendMessageBatch&Version=2012-11-05&SendMessageBatchRequestEntry.1.Id=id-1&SendMessageBatchRequestEntry.1.MessageBody=batch-1&SendMessageBatchRequestEntry.1.MessageGroupId=javacodegeeks-group-1&SendMessageBatchRequestEntry.2.Id=id-2&SendMessageBatchRequestEntry.2.MessageBody=batch-2&SendMessageBatchRequestEntry.2.MessageGroupId=javacodegeeks-group-1" 23:24:14.723 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "HTTP/1.1 200 OK[\r][\n]" 23:24:14.723 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "x-amzn-RequestId: 91653c4f-a24a-5a64-a988-65da584c9206[\r][\n]" 23:24:14.723 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "Date: Tue, 17 Aug 2021 17:54:14 GMT[\r][\n]" 23:24:14.723 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "Content-Type: text/xml[\r][\n]" 23:24:14.723 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "Content-Length: 776[\r][\n]" 23:24:14.723 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "[\r][\n]" 23:24:14.723 [main] DEBUG org.apache.http.headers - http-outgoing-0 << HTTP/1.1 200 OK 23:24:14.723 [main] DEBUG org.apache.http.headers - http-outgoing-0 << x-amzn-RequestId: 91653c4f-a24a-5a64-a988-65da584c9206 23:24:14.723 [main] DEBUG org.apache.http.headers - http-outgoing-0 << Date: Tue, 17 Aug 2021 17:54:14 GMT 23:24:14.723 [main] DEBUG org.apache.http.headers - http-outgoing-0 << Content-Type: text/xml 23:24:14.723 [main] DEBUG org.apache.http.headers - http-outgoing-0 << Content-Length: 776 23:24:14.723 [main] DEBUG org.apache.http.impl.execchain.MainClientExec - Connection can be kept alive for 60000 MILLISECONDS 23:24:14.724 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "id-1aed021c6-ac5c-49af-ae1e-4ce56532e8286b66d1ebfc72ed884175aa0eaa706c4318863825124545521408id-20594b940-d461-4c01-93a3-a1b4cd7b4071e314c4da29583c411452f3bc5a2242e21886382512454552140991653c4f-a24a-5a64-a988-65da584c9206" 23:24:14.727 [main] DEBUG org.apache.http.impl.conn.PoolingHttpClientConnectionManager - Connection [id: 0][route: {s}->https://sqs.us-east-1.amazonaws.com:443] can be kept alive for 60.0 seconds 23:24:14.728 [main] DEBUG org.apache.http.impl.conn.PoolingHttpClientConnectionManager - Connection released: [id: 0][route: {s}->https://sqs.us-east-1.amazonaws.com:443][total kept alive: 1; route allocated: 1 of 50; total allocated: 1 of 50] 23:24:14.728 [main] DEBUG com.amazonaws.request - Received successful response: 200, AWS Request ID: 91653c4f-a24a-5a64-a988-65da584c9206 23:24:14.728 [main] DEBUG com.amazonaws.requestId - x-amzn-RequestId: 91653c4f-a24a-5a64-a988-65da584c9206 23:24:14.728 [main] DEBUG com.amazonaws.services.sqs.MessageMD5ChecksumHandler - Message body: batch-1 23:24:14.728 [main] DEBUG com.amazonaws.services.sqs.MessageMD5ChecksumHandler - Expected MD5 of message body: 6b66d1ebfc72ed884175aa0eaa706c43 23:24:14.728 [main] DEBUG com.amazonaws.services.sqs.MessageMD5ChecksumHandler - Message body: batch-2 23:24:14.728 [main] DEBUG com.amazonaws.services.sqs.MessageMD5ChecksumHandler - Expected MD5 of message body: e314c4da29583c411452f3bc5a2242e2 23:24:14.730 [main] DEBUG com.amazonaws.request - Sending Request: POST https://sqs.us-east-1.amazonaws.com /266748533148/javacodegeeks-queue.fifo Parameters: ({"Action":["ReceiveMessage"],"Version":["2012-11-05"],"MaxNumberOfMessages":["1"],"WaitTimeSeconds":["10"]}Headers: (User-Agent: aws-sdk-java/1.11.290 Mac_OS_X/10.16 Java_HotSpot(TM)_64-Bit_Server_VM/25.101-b13 java/1.8.0_101, amz-sdk-invocation-id: f9d568b1-8074-727b-bcc9-db51f6253a51, ) 23:24:14.731 [main] DEBUG com.amazonaws.auth.AWS4Signer - AWS4 Canonical Request: '"POST /266748533148/javacodegeeks-queue.fifo amz-sdk-invocation-id:f9d568b1-8074-727b-bcc9-db51f6253a51 amz-sdk-retry:0/0/500 host:sqs.us-east-1.amazonaws.com user-agent:aws-sdk-java/1.11.290 Mac_OS_X/10.16 Java_HotSpot(TM)_64-Bit_Server_VM/25.101-b13 java/1.8.0_101 x-amz-date:20210817T175414Z amz-sdk-invocation-id;amz-sdk-retry;host;user-agent;x-amz-date cfaf1df810ceef13b93df1516211d692da54d8c1872186c4d474ac6ac4d7fa65" 23:24:14.731 [main] DEBUG com.amazonaws.auth.AWS4Signer - AWS4 String to Sign: '"AWS4-HMAC-SHA256 20210817T175414Z 20210817/us-east-1/sqs/aws4_request f99a94ff4e00572c510d59ff1399b54eb8e6b6a80d201f14f362ad53a3051cb3" 23:24:14.732 [main] DEBUG org.apache.http.client.protocol.RequestAddCookies - CookieSpec selected: default 23:24:14.732 [main] DEBUG org.apache.http.client.protocol.RequestAuthCache - Auth cache not set in the context 23:24:14.732 [main] DEBUG org.apache.http.impl.conn.PoolingHttpClientConnectionManager - Connection request: [route: {s}->https://sqs.us-east-1.amazonaws.com:443][total kept alive: 1; route allocated: 1 of 50; total allocated: 1 of 50] 23:24:14.732 [main] DEBUG org.apache.http.impl.conn.PoolingHttpClientConnectionManager - Connection leased: [id: 0][route: {s}->https://sqs.us-east-1.amazonaws.com:443][total kept alive: 0; route allocated: 1 of 50; total allocated: 1 of 50] 23:24:14.732 [main] DEBUG org.apache.http.impl.conn.DefaultManagedHttpClientConnection - http-outgoing-0: set socket timeout to 50000 23:24:14.733 [main] DEBUG org.apache.http.impl.execchain.MainClientExec - Executing request POST /266748533148/javacodegeeks-queue.fifo HTTP/1.1 23:24:14.733 [main] DEBUG org.apache.http.impl.execchain.MainClientExec - Proxy auth state: UNCHALLENGED 23:24:14.733 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> POST /266748533148/javacodegeeks-queue.fifo HTTP/1.1 23:24:14.733 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> Host: sqs.us-east-1.amazonaws.com 23:24:14.733 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> Authorization: AWS4-HMAC-SHA256 Credential=AKIAT4G3TTGOD43IBVWB/20210817/us-east-1/sqs/aws4_request, SignedHeaders=amz-sdk-invocation-id;amz-sdk-retry;host;user-agent;x-amz-date, Signature=c66a41fb32a40fe7a2a81008bafd4f357b19c1ec284e53622e2cf9629aefacec 23:24:14.733 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> X-Amz-Date: 20210817T175414Z 23:24:14.733 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> User-Agent: aws-sdk-java/1.11.290 Mac_OS_X/10.16 Java_HotSpot(TM)_64-Bit_Server_VM/25.101-b13 java/1.8.0_101 23:24:14.733 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> amz-sdk-invocation-id: f9d568b1-8074-727b-bcc9-db51f6253a51 23:24:14.733 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> amz-sdk-retry: 0/0/500 23:24:14.733 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> Content-Type: application/x-www-form-urlencoded; charset=utf-8 23:24:14.733 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> Content-Length: 81 23:24:14.733 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> Connection: Keep-Alive 23:24:14.733 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "POST /266748533148/javacodegeeks-queue.fifo HTTP/1.1[\r][\n]" 23:24:14.733 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "Host: sqs.us-east-1.amazonaws.com[\r][\n]" 23:24:14.733 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "Authorization: AWS4-HMAC-SHA256 Credential=AKIAT4G3TTGOD43IBVWB/20210817/us-east-1/sqs/aws4_request, SignedHeaders=amz-sdk-invocation-id;amz-sdk-retry;host;user-agent;x-amz-date, Signature=c66a41fb32a40fe7a2a81008bafd4f357b19c1ec284e53622e2cf9629aefacec[\r][\n]" 23:24:14.733 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "X-Amz-Date: 20210817T175414Z[\r][\n]" 23:24:14.733 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "User-Agent: aws-sdk-java/1.11.290 Mac_OS_X/10.16 Java_HotSpot(TM)_64-Bit_Server_VM/25.101-b13 java/1.8.0_101[\r][\n]" 23:24:14.733 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "amz-sdk-invocation-id: f9d568b1-8074-727b-bcc9-db51f6253a51[\r][\n]" 23:24:14.733 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "amz-sdk-retry: 0/0/500[\r][\n]" 23:24:14.733 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "Content-Type: application/x-www-form-urlencoded; charset=utf-8[\r][\n]" 23:24:14.733 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "Content-Length: 81[\r][\n]" 23:24:14.734 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "Connection: Keep-Alive[\r][\n]" 23:24:14.734 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "[\r][\n]" 23:24:14.734 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "Action=ReceiveMessage&Version=2012-11-05&MaxNumberOfMessages=1&WaitTimeSeconds=10" 23:24:15.084 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "HTTP/1.1 200 OK[\r][\n]" 23:24:15.084 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "x-amzn-RequestId: 82f7bd51-8d30-5819-a5bc-e4c47737e07b[\r][\n]" 23:24:15.084 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "Date: Tue, 17 Aug 2021 17:54:15 GMT[\r][\n]" 23:24:15.084 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "Content-Type: text/xml[\r][\n]" 23:24:15.084 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "Content-Length: 753[\r][\n]" 23:24:15.084 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "[\r][\n]" 23:24:15.085 [main] DEBUG org.apache.http.headers - http-outgoing-0 << HTTP/1.1 200 OK 23:24:15.085 [main] DEBUG org.apache.http.headers - http-outgoing-0 << x-amzn-RequestId: 82f7bd51-8d30-5819-a5bc-e4c47737e07b 23:24:15.085 [main] DEBUG org.apache.http.headers - http-outgoing-0 << Date: Tue, 17 Aug 2021 17:54:15 GMT 23:24:15.085 [main] DEBUG org.apache.http.headers - http-outgoing-0 << Content-Type: text/xml 23:24:15.085 [main] DEBUG org.apache.http.headers - http-outgoing-0 << Content-Length: 753 23:24:15.085 [main] DEBUG org.apache.http.impl.execchain.MainClientExec - Connection can be kept alive for 60000 MILLISECONDS 23:24:15.086 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "5fb69ba2-80e4-47e1-9a59-9d480f126ad6AQEBVKsver8jXZYY/qH2v/wwIvIRPbV2YzkD1OIVHfAg8pRk8zt54noUN34n2C7JaMGZ5MQ+SqBUiE6zfrlfmBHKinoYBOIsGbTAgWyHUmj3EfbGTam7ipL0QeDppXidyyvuKKsoO5d9tcw9NTtwbhQeuN7c4va4HJaNhyheSr6ZPRfyns83v3XFnLwv1kMbSOAn9ZQnkp2e7JZNFLV6UxkNUrKHa/9y3y+BPCewruEkocCvPDCA0B6dfO23oFRJ4H54AUD0KbdDIAdL3JpbJD3ietRvUJj9Py5zbFAxStm+Nrk=6159d8a8645177b0f30017e2c82b7bbaFIFO Queue82f7bd51-8d30-5819-a5bc-e4c47737e07b" 23:24:15.090 [main] DEBUG org.apache.http.impl.conn.PoolingHttpClientConnectionManager - Connection [id: 0][route: {s}->https://sqs.us-east-1.amazonaws.com:443] can be kept alive for 60.0 seconds 23:24:15.090 [main] DEBUG org.apache.http.impl.conn.PoolingHttpClientConnectionManager - Connection released: [id: 0][route: {s}->https://sqs.us-east-1.amazonaws.com:443][total kept alive: 1; route allocated: 1 of 50; total allocated: 1 of 50] 23:24:15.090 [main] DEBUG com.amazonaws.request - Received successful response: 200, AWS Request ID: 82f7bd51-8d30-5819-a5bc-e4c47737e07b 23:24:15.090 [main] DEBUG com.amazonaws.requestId - x-amzn-RequestId: 82f7bd51-8d30-5819-a5bc-e4c47737e07b 23:24:15.090 [main] DEBUG com.amazonaws.services.sqs.MessageMD5ChecksumHandler - Message body: FIFO Queue 23:24:15.091 [main] DEBUG com.amazonaws.services.sqs.MessageMD5ChecksumHandler - Expected MD5 of message body: 6159d8a8645177b0f30017e2c82b7bba 23:24:15.101 [main] DEBUG com.amazonaws.request - Sending Request: POST https://sqs.us-east-1.amazonaws.com /266748533148/javacodegeeks-queue.fifo Parameters: ({"Action":["DeleteMessage"],"Version":["2012-11-05"],"ReceiptHandle":["AQEBVKsver8jXZYY/qH2v/wwIvIRPbV2YzkD1OIVHfAg8pRk8zt54noUN34n2C7JaMGZ5MQ+SqBUiE6zfrlfmBHKinoYBOIsGbTAgWyHUmj3EfbGTam7ipL0QeDppXidyyvuKKsoO5d9tcw9NTtwbhQeuN7c4va4HJaNhyheSr6ZPRfyns83v3XFnLwv1kMbSOAn9ZQnkp2e7JZNFLV6UxkNUrKHa/9y3y+BPCewruEkocCvPDCA0B6dfO23oFRJ4H54AUD0KbdDIAdL3JpbJD3ietRvUJj9Py5zbFAxStm+Nrk="]}Headers: (User-Agent: aws-sdk-java/1.11.290 Mac_OS_X/10.16 Java_HotSpot(TM)_64-Bit_Server_VM/25.101-b13 java/1.8.0_101, amz-sdk-invocation-id: e6f246e0-9d7f-4525-a859-fe5b9cda305c, ) 23:24:15.102 [main] DEBUG com.amazonaws.auth.AWS4Signer - AWS4 Canonical Request: '"POST /266748533148/javacodegeeks-queue.fifo amz-sdk-invocation-id:e6f246e0-9d7f-4525-a859-fe5b9cda305c amz-sdk-retry:0/0/500 host:sqs.us-east-1.amazonaws.com user-agent:aws-sdk-java/1.11.290 Mac_OS_X/10.16 Java_HotSpot(TM)_64-Bit_Server_VM/25.101-b13 java/1.8.0_101 x-amz-date:20210817T175415Z amz-sdk-invocation-id;amz-sdk-retry;host;user-agent;x-amz-date c779d07d490f23be3fef392980ce05576e3464dbbd36c43f6b3c0a04df155b51" 23:24:15.102 [main] DEBUG com.amazonaws.auth.AWS4Signer - AWS4 String to Sign: '"AWS4-HMAC-SHA256 20210817T175415Z 20210817/us-east-1/sqs/aws4_request 63cf2668b59464d3f636e9b437dbd885d29198d4f1faa27c493cd41243add000" 23:24:15.103 [main] DEBUG org.apache.http.client.protocol.RequestAddCookies - CookieSpec selected: default 23:24:15.103 [main] DEBUG org.apache.http.client.protocol.RequestAuthCache - Auth cache not set in the context 23:24:15.104 [main] DEBUG org.apache.http.impl.conn.PoolingHttpClientConnectionManager - Connection request: [route: {s}->https://sqs.us-east-1.amazonaws.com:443][total kept alive: 1; route allocated: 1 of 50; total allocated: 1 of 50] 23:24:15.104 [main] DEBUG org.apache.http.impl.conn.PoolingHttpClientConnectionManager - Connection leased: [id: 0][route: {s}->https://sqs.us-east-1.amazonaws.com:443][total kept alive: 0; route allocated: 1 of 50; total allocated: 1 of 50] 23:24:15.104 [main] DEBUG org.apache.http.impl.conn.DefaultManagedHttpClientConnection - http-outgoing-0: set socket timeout to 50000 23:24:15.104 [main] DEBUG org.apache.http.impl.execchain.MainClientExec - Executing request POST /266748533148/javacodegeeks-queue.fifo HTTP/1.1 23:24:15.104 [main] DEBUG org.apache.http.impl.execchain.MainClientExec - Proxy auth state: UNCHALLENGED 23:24:15.104 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> POST /266748533148/javacodegeeks-queue.fifo HTTP/1.1 23:24:15.104 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> Host: sqs.us-east-1.amazonaws.com 23:24:15.104 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> Authorization: AWS4-HMAC-SHA256 Credential=AKIAT4G3TTGOD43IBVWB/20210817/us-east-1/sqs/aws4_request, SignedHeaders=amz-sdk-invocation-id;amz-sdk-retry;host;user-agent;x-amz-date, Signature=ff91dfdfecd9a448e97543f63f6d93d114b94dd8b5c29f81956ea85e582ccf49 23:24:15.104 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> X-Amz-Date: 20210817T175415Z 23:24:15.105 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> User-Agent: aws-sdk-java/1.11.290 Mac_OS_X/10.16 Java_HotSpot(TM)_64-Bit_Server_VM/25.101-b13 java/1.8.0_101 23:24:15.105 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> amz-sdk-invocation-id: e6f246e0-9d7f-4525-a859-fe5b9cda305c 23:24:15.105 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> amz-sdk-retry: 0/0/500 23:24:15.105 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> Content-Type: application/x-www-form-urlencoded; charset=utf-8 23:24:15.105 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> Content-Length: 372 23:24:15.105 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> Connection: Keep-Alive 23:24:15.105 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "POST /266748533148/javacodegeeks-queue.fifo HTTP/1.1[\r][\n]" 23:24:15.105 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "Host: sqs.us-east-1.amazonaws.com[\r][\n]" 23:24:15.105 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "Authorization: AWS4-HMAC-SHA256 Credential=AKIAT4G3TTGOD43IBVWB/20210817/us-east-1/sqs/aws4_request, SignedHeaders=amz-sdk-invocation-id;amz-sdk-retry;host;user-agent;x-amz-date, Signature=ff91dfdfecd9a448e97543f63f6d93d114b94dd8b5c29f81956ea85e582ccf49[\r][\n]" 23:24:15.105 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "X-Amz-Date: 20210817T175415Z[\r][\n]" 23:24:15.105 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "User-Agent: aws-sdk-java/1.11.290 Mac_OS_X/10.16 Java_HotSpot(TM)_64-Bit_Server_VM/25.101-b13 java/1.8.0_101[\r][\n]" 23:24:15.105 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "amz-sdk-invocation-id: e6f246e0-9d7f-4525-a859-fe5b9cda305c[\r][\n]" 23:24:15.105 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "amz-sdk-retry: 0/0/500[\r][\n]" 23:24:15.105 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "Content-Type: application/x-www-form-urlencoded; charset=utf-8[\r][\n]" 23:24:15.105 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "Content-Length: 372[\r][\n]" 23:24:15.105 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "Connection: Keep-Alive[\r][\n]" 23:24:15.105 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "[\r][\n]" 23:24:15.105 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "Action=DeleteMessage&Version=2012-11-05&ReceiptHandle=AQEBVKsver8jXZYY%2FqH2v%2FwwIvIRPbV2YzkD1OIVHfAg8pRk8zt54noUN34n2C7JaMGZ5MQ%2BSqBUiE6zfrlfmBHKinoYBOIsGbTAgWyHUmj3EfbGTam7ipL0QeDppXidyyvuKKsoO5d9tcw9NTtwbhQeuN7c4va4HJaNhyheSr6ZPRfyns83v3XFnLwv1kMbSOAn9ZQnkp2e7JZNFLV6UxkNUrKHa%2F9y3y%2BBPCewruEkocCvPDCA0B6dfO23oFRJ4H54AUD0KbdDIAdL3JpbJD3ietRvUJj9Py5zbFAxStm%2BNrk%3D" 23:24:15.493 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "HTTP/1.1 200 OK[\r][\n]" 23:24:15.493 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "x-amzn-RequestId: afbfd7b4-a864-5163-897d-8e2152637901[\r][\n]" 23:24:15.493 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "Date: Tue, 17 Aug 2021 17:54:15 GMT[\r][\n]" 23:24:15.493 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "Content-Type: text/xml[\r][\n]" 23:24:15.493 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "Content-Length: 215[\r][\n]" 23:24:15.493 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "[\r][\n]" 23:24:15.494 [main] DEBUG org.apache.http.headers - http-outgoing-0 << HTTP/1.1 200 OK 23:24:15.494 [main] DEBUG org.apache.http.headers - http-outgoing-0 << x-amzn-RequestId: afbfd7b4-a864-5163-897d-8e2152637901 23:24:15.494 [main] DEBUG org.apache.http.headers - http-outgoing-0 << Date: Tue, 17 Aug 2021 17:54:15 GMT 23:24:15.494 [main] DEBUG org.apache.http.headers - http-outgoing-0 << Content-Type: text/xml 23:24:15.494 [main] DEBUG org.apache.http.headers - http-outgoing-0 << Content-Length: 215 23:24:15.494 [main] DEBUG org.apache.http.impl.execchain.MainClientExec - Connection can be kept alive for 60000 MILLISECONDS 23:24:15.495 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "afbfd7b4-a864-5163-897d-8e2152637901" 23:24:15.496 [main] DEBUG org.apache.http.impl.conn.PoolingHttpClientConnectionManager - Connection [id: 0][route: {s}->https://sqs.us-east-1.amazonaws.com:443] can be kept alive for 60.0 seconds 23:24:15.496 [main] DEBUG org.apache.http.impl.conn.PoolingHttpClientConnectionManager - Connection released: [id: 0][route: {s}->https://sqs.us-east-1.amazonaws.com:443][total kept alive: 1; route allocated: 1 of 50; total allocated: 1 of 50] 23:24:15.496 [main] DEBUG com.amazonaws.request - Received successful response: 200, AWS Request ID: afbfd7b4-a864-5163-897d-8e2152637901 23:24:15.496 [main] DEBUG com.amazonaws.requestId - x-amzn-RequestId: afbfd7b4-a864-5163-897d-8e2152637901 23:24:15.497 [main] DEBUG com.amazonaws.request - Sending Request: POST https://sqs.us-east-1.amazonaws.com /266748533148/javacodegeeks-queue Parameters: ({"Action":["GetQueueAttributes"],"Version":["2012-11-05"],"AttributeName.1":["All"]}Headers: (User-Agent: aws-sdk-java/1.11.290 Mac_OS_X/10.16 Java_HotSpot(TM)_64-Bit_Server_VM/25.101-b13 java/1.8.0_101, amz-sdk-invocation-id: 850a2944-bfad-ff85-1bd8-ae89d817ae0f, ) 23:24:15.498 [main] DEBUG com.amazonaws.auth.AWS4Signer - AWS4 Canonical Request: '"POST /266748533148/javacodegeeks-queue amz-sdk-invocation-id:850a2944-bfad-ff85-1bd8-ae89d817ae0f amz-sdk-retry:0/0/500 host:sqs.us-east-1.amazonaws.com user-agent:aws-sdk-java/1.11.290 Mac_OS_X/10.16 Java_HotSpot(TM)_64-Bit_Server_VM/25.101-b13 java/1.8.0_101 x-amz-date:20210817T175415Z amz-sdk-invocation-id;amz-sdk-retry;host;user-agent;x-amz-date 9a9c2667992a1a0cf6a6eccac25093c407f4e841d33e198a82e8ced16e5804cf" 23:24:15.498 [main] DEBUG com.amazonaws.auth.AWS4Signer - AWS4 String to Sign: '"AWS4-HMAC-SHA256 20210817T175415Z 20210817/us-east-1/sqs/aws4_request 4954bb18f2fdd48335111543f715a82b588323633e7d1794d6a1eb4302db5c33" 23:24:15.499 [main] DEBUG org.apache.http.client.protocol.RequestAddCookies - CookieSpec selected: default 23:24:15.499 [main] DEBUG org.apache.http.client.protocol.RequestAuthCache - Auth cache not set in the context 23:24:15.499 [main] DEBUG org.apache.http.impl.conn.PoolingHttpClientConnectionManager - Connection request: [route: {s}->https://sqs.us-east-1.amazonaws.com:443][total kept alive: 1; route allocated: 1 of 50; total allocated: 1 of 50] 23:24:15.499 [main] DEBUG org.apache.http.impl.conn.PoolingHttpClientConnectionManager - Connection leased: [id: 0][route: {s}->https://sqs.us-east-1.amazonaws.com:443][total kept alive: 0; route allocated: 1 of 50; total allocated: 1 of 50] 23:24:15.499 [main] DEBUG org.apache.http.impl.conn.DefaultManagedHttpClientConnection - http-outgoing-0: set socket timeout to 50000 23:24:15.500 [main] DEBUG org.apache.http.impl.execchain.MainClientExec - Executing request POST /266748533148/javacodegeeks-queue HTTP/1.1 23:24:15.500 [main] DEBUG org.apache.http.impl.execchain.MainClientExec - Proxy auth state: UNCHALLENGED 23:24:15.500 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> POST /266748533148/javacodegeeks-queue HTTP/1.1 23:24:15.500 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> Host: sqs.us-east-1.amazonaws.com 23:24:15.500 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> Authorization: AWS4-HMAC-SHA256 Credential=AKIAT4G3TTGOD43IBVWB/20210817/us-east-1/sqs/aws4_request, SignedHeaders=amz-sdk-invocation-id;amz-sdk-retry;host;user-agent;x-amz-date, Signature=e59b03a46b74e7af3bd9b2654fdedc67063cb112a720bf8a6d7f1bb384772d4c 23:24:15.501 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> X-Amz-Date: 20210817T175415Z 23:24:15.501 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> User-Agent: aws-sdk-java/1.11.290 Mac_OS_X/10.16 Java_HotSpot(TM)_64-Bit_Server_VM/25.101-b13 java/1.8.0_101 23:24:15.502 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> amz-sdk-invocation-id: 850a2944-bfad-ff85-1bd8-ae89d817ae0f 23:24:15.502 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> amz-sdk-retry: 0/0/500 23:24:15.502 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> Content-Type: application/x-www-form-urlencoded; charset=utf-8 23:24:15.502 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> Content-Length: 64 23:24:15.502 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> Connection: Keep-Alive 23:24:15.502 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "POST /266748533148/javacodegeeks-queue HTTP/1.1[\r][\n]" 23:24:15.502 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "Host: sqs.us-east-1.amazonaws.com[\r][\n]" 23:24:15.502 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "Authorization: AWS4-HMAC-SHA256 Credential=AKIAT4G3TTGOD43IBVWB/20210817/us-east-1/sqs/aws4_request, SignedHeaders=amz-sdk-invocation-id;amz-sdk-retry;host;user-agent;x-amz-date, Signature=e59b03a46b74e7af3bd9b2654fdedc67063cb112a720bf8a6d7f1bb384772d4c[\r][\n]" 23:24:15.502 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "X-Amz-Date: 20210817T175415Z[\r][\n]" 23:24:15.502 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "User-Agent: aws-sdk-java/1.11.290 Mac_OS_X/10.16 Java_HotSpot(TM)_64-Bit_Server_VM/25.101-b13 java/1.8.0_101[\r][\n]" 23:24:15.502 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "amz-sdk-invocation-id: 850a2944-bfad-ff85-1bd8-ae89d817ae0f[\r][\n]" 23:24:15.502 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "amz-sdk-retry: 0/0/500[\r][\n]" 23:24:15.502 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "Content-Type: application/x-www-form-urlencoded; charset=utf-8[\r][\n]" 23:24:15.502 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "Content-Length: 64[\r][\n]" 23:24:15.502 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "Connection: Keep-Alive[\r][\n]" 23:24:15.502 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "[\r][\n]" 23:24:15.502 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "Action=GetQueueAttributes&Version=2012-11-05&AttributeName.1=All" 23:24:15.829 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "HTTP/1.1 200 OK[\r][\n]" 23:24:15.829 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "x-amzn-RequestId: 4fcc3dec-953e-5a13-8397-64796f395271[\r][\n]" 23:24:15.829 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "Date: Tue, 17 Aug 2021 17:54:15 GMT[\r][\n]" 23:24:15.829 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "Content-Type: text/xml[\r][\n]" 23:24:15.830 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "Content-Length: 1379[\r][\n]" 23:24:15.830 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "[\r][\n]" 23:24:15.830 [main] DEBUG org.apache.http.headers - http-outgoing-0 << HTTP/1.1 200 OK 23:24:15.830 [main] DEBUG org.apache.http.headers - http-outgoing-0 << x-amzn-RequestId: 4fcc3dec-953e-5a13-8397-64796f395271 23:24:15.830 [main] DEBUG org.apache.http.headers - http-outgoing-0 << Date: Tue, 17 Aug 2021 17:54:15 GMT 23:24:15.830 [main] DEBUG org.apache.http.headers - http-outgoing-0 << Content-Type: text/xml 23:24:15.830 [main] DEBUG org.apache.http.headers - http-outgoing-0 << Content-Length: 1379 23:24:15.830 [main] DEBUG org.apache.http.impl.execchain.MainClientExec - Connection can be kept alive for 60000 MILLISECONDS 23:24:15.832 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "QueueArnarn:aws:sqs:us-east-1:266748533148:javacodegeeks-queueApproximateNumberOfMessages0ApproximateNumberOfMessagesNotVisible0ApproximateNumberOfMessagesDelayed1CreatedTimestamp1629222851LastModifiedTimestamp1629222853VisibilityTimeout30MaximumMessageSize262144MessageRetentionPeriod345600DelaySeconds0RedrivePolicy{"deadLetterTargetArn":"arn:aws:sqs:us-east-1:266748533148:javacodegeeks-dead-letter-queue","maxReceiveCount":2}ReceiveMessageWaitTimeSeconds04fcc3dec-953e-5a13-8397-64796f395271" 23:24:15.836 [main] DEBUG org.apache.http.impl.conn.PoolingHttpClientConnectionManager - Connection [id: 0][route: {s}->https://sqs.us-east-1.amazonaws.com:443] can be kept alive for 60.0 seconds 23:24:15.837 [main] DEBUG org.apache.http.impl.conn.PoolingHttpClientConnectionManager - Connection released: [id: 0][route: {s}->https://sqs.us-east-1.amazonaws.com:443][total kept alive: 1; route allocated: 1 of 50; total allocated: 1 of 50] 23:24:15.837 [main] DEBUG com.amazonaws.request - Received successful response: 200, AWS Request ID: 4fcc3dec-953e-5a13-8397-64796f395271 23:24:15.837 [main] DEBUG com.amazonaws.requestId - x-amzn-RequestId: 4fcc3dec-953e-5a13-8397-64796f395271 message count on the queue - 0 message count yet to be processed 0 apples-MacBook-Air:aws bhagvan.kommadi$
3. Download the Source Code
You can download the full source code of this example here: AWS SQS Dead Letter Queue Example in Java