@UriEndpoint(firstVersion="2.8.0",
scheme="aws-s3",
title="AWS S3 Storage Service",
syntax="aws-s3://bucketNameOrArn",
category={CLOUD,FILE})
public class S3Endpoint
extends org.apache.camel.support.ScheduledPollEndpoint
| Constructor and Description |
|---|
S3Endpoint(String uri,
org.apache.camel.Component comp,
S3Configuration configuration) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.camel.Consumer |
createConsumer(org.apache.camel.Processor processor) |
org.apache.camel.Exchange |
createExchange(org.apache.camel.ExchangePattern pattern,
com.amazonaws.services.s3.model.S3Object s3Object) |
org.apache.camel.Exchange |
createExchange(com.amazonaws.services.s3.model.S3Object s3Object) |
org.apache.camel.Producer |
createProducer() |
void |
doStart() |
void |
doStop() |
S3Configuration |
getConfiguration() |
int |
getMaxConnections() |
int |
getMaxMessagesPerPoll() |
com.amazonaws.services.s3.AmazonS3 |
getS3Client() |
void |
setConfiguration(S3Configuration configuration) |
void |
setMaxConnections(int maxConnections)
Set the maxConnections parameter in the S3 client configuration
|
void |
setMaxMessagesPerPoll(int maxMessagesPerPoll)
Gets the maximum number of messages as a limit to poll at each polling.
|
void |
setS3Client(com.amazonaws.services.s3.AmazonS3 s3Client) |
configureConsumer, configureProperties, configureScheduledPollConsumerProperties, doConfigureConsumer, getBackoffErrorThreshold, getBackoffIdleThreshold, getBackoffMultiplier, getDelay, getInitialDelay, getPollStrategy, getRepeatCount, getRunLoggingLevel, getScheduledExecutorService, getScheduler, getSchedulerProperties, getTimeUnit, isGreedy, isSendEmptyMessageWhenIdle, isStartScheduler, isUseFixedDelay, setBackoffErrorThreshold, setBackoffIdleThreshold, setBackoffMultiplier, setDelay, setGreedy, setInitialDelay, setPollStrategy, setRepeatCount, setRunLoggingLevel, setScheduledExecutorService, setScheduler, setSchedulerProperties, setSendEmptyMessageWhenIdle, setStartScheduler, setTimeUnit, setUseFixedDelayconfigurePollingConsumer, createAsyncProducer, createEndpointUri, createExchange, createExchange, createPollingConsumer, doInit, equals, getCamelContext, getComponent, getEndpointKey, getEndpointUri, getExceptionHandler, getExchangePattern, getId, getPollingConsumerBlockTimeout, getPollingConsumerQueueSize, hashCode, isBasicPropertyBinding, isBridgeErrorHandler, isLazyStartProducer, isLenientProperties, isPollingConsumerBlockWhenFull, isSingleton, isSynchronous, setBasicPropertyBinding, setBridgeErrorHandler, setCamelContext, setComponent, setEndpointUri, setEndpointUriIfNotSpecified, setExceptionHandler, setExchangePattern, setLazyStartProducer, setPollingConsumerBlockTimeout, setPollingConsumerBlockWhenFull, setPollingConsumerQueueSize, setProperties, setSynchronous, toStringbuild, doBuild, doFail, doLifecycleChange, doResume, doShutdown, doSuspend, fail, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic S3Endpoint(String uri, org.apache.camel.Component comp, S3Configuration configuration)
public org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor)
throws Exception
Exceptionpublic void doStart()
throws Exception
doStart in class org.apache.camel.support.ScheduledPollEndpointExceptionpublic void doStop()
throws Exception
doStop in class org.apache.camel.support.ScheduledPollEndpointExceptionpublic org.apache.camel.Exchange createExchange(com.amazonaws.services.s3.model.S3Object s3Object)
public org.apache.camel.Exchange createExchange(org.apache.camel.ExchangePattern pattern,
com.amazonaws.services.s3.model.S3Object s3Object)
public S3Configuration getConfiguration()
public void setConfiguration(S3Configuration configuration)
public void setS3Client(com.amazonaws.services.s3.AmazonS3 s3Client)
public com.amazonaws.services.s3.AmazonS3 getS3Client()
public int getMaxMessagesPerPoll()
public void setMaxMessagesPerPoll(int maxMessagesPerPoll)
public int getMaxConnections()
public void setMaxConnections(int maxConnections)
Apache Camel