awslabs/amazon-sqs-java-temporary-queues-client

Allow configuration of IdleQueueRetentionPeriodSeconds on temporary queue client

robin-aws opened this issue · 0 comments

The documentation says this is possible (last paragraph of https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-temporary-queues.html), but technically it's only possible on the underlying clients. The AmazonSQSTemporaryQueueClient currently hard-codes it:

https://github.com/awslabs/amazon-sqs-java-temporary-queues-client/blob/master/src/main/java/com/amazonaws/services/sqs/AmazonSQSTemporaryQueuesClient.java#L36

Either the documentation should be fixed or this should be exposed as a configuration parameter on the builder (which is my preference).