'Aws S3 delete object before a certain delay using apache camel

I want to read and then delete an object from an s3 bucket in a maximum delay of 48 hours using Apache Camel.

How can I precise the maximum delay ?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source