Class CheckFileExistsOperation

  • All Implemented Interfaces:
    S3Operation, ComponentLifecycleExtension

    @ComponentProfile(summary="Check a file exists in S3, throws exception if it doesn\'t",
                      since="3.8.4")
    public class CheckFileExistsOperation
    extends ObjectOperationImpl
    Check an exists in S3 and throw an exception if it doesn't.

    Note that this component will throw an exception if the file does not exist possibly cascading into a failed message; you probably want to use something like ExceptionHandlingServiceWrapper or similar if a missing S3 object is part of your expected integration pipeline.

    In the adapter configuration file this class is aliased as amazon-s3-check-file-exists which is the preferred alternative to the fully qualified classname when building your configuration.

    • Constructor Detail

      • CheckFileExistsOperation

        public CheckFileExistsOperation()