awslabs / awslabs/amazon-sqs-java-messaging-lib

SQSSession - Interrupted while closing the session. java.lang.InterruptedException

Open
#90 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
183
Forks
150
PR merge metrics
No merged PRs in 30d

Description

I'm wondering why this exception occurs every time we close the connection:

ERROR [ConsumerPrefetchThread-75] SQSSession - Interrupted while closing the session.
java.lang.InterruptedException
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2067)
at java.util.concurrent.ThreadPoolExecutor.awaitTermination(ThreadPoolExecutor.java:1475)
at java.util.concurrent.Executors$DelegatedExecutorService.awaitTermination(Executors.java:675)
at com.amazon.sqs.javamessaging.SQSSession.doClose(SQSSession.java:434)
at com.amazon.sqs.javamessaging.SQSSession.close(SQSSession.java:392)
at com.amazon.sqs.javamessaging.SQSConnection.close(SQSConnection.java:397)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.