amazon-sqs-java-messaging-lib icon indicating copy to clipboard operation
amazon-sqs-java-messaging-lib copied to clipboard

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

Open dastraka opened this issue 5 years ago • 0 comments

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)

dastraka avatar Apr 22 '20 18:04 dastraka