Class S3BucketList

java.lang.Object
com.adaptris.core.ServiceImp
com.adaptris.aws2.s3.S3BucketList
All Implemented Interfaces:
AdaptrisComponent, ComponentLifecycle, ComponentLifecycleExtension, ConfigComment, ConnectedService, DynamicPollingTemplate.TemplateProvider, MessageEventGenerator, Service, StateManagedComponent

@ComponentProfile(summary="List contents of an S3 bucket as part of a polling-trigger", since="4.3.0", tag="aws2,s3,polling") public class S3BucketList extends ServiceImp implements DynamicPollingTemplate.TemplateProvider, ConnectedService
Query a S3 Location for a list of blobs stored there.

Under the covers it re-uses S3Service with a ListOperation and does a full lifecycle on the underlying service each time it is triggered. This is intended for use as part of a DynamicPollingTemplate; as a result keys are not intended to be resolved using the %message expression language; they will, however, be passed as-is into the underlying service (which may still resolve them).

Since:
4.3.0

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