@UriEndpoint(firstVersion="3.2.0",
scheme="aws2-s3",
title="AWS 2 S3 Storage Service",
syntax="aws2-s3://bucketNameOrArn",
category={CLOUD,FILE})
public class AWS2S3Endpoint
extends org.apache.camel.support.ScheduledPollEndpoint
| Constructor and Description |
|---|
AWS2S3Endpoint(String uri,
org.apache.camel.Component comp,
AWS2S3Configuration 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,
software.amazon.awssdk.core.ResponseInputStream<software.amazon.awssdk.services.s3.model.GetObjectResponse> s3Object,
String key) |
org.apache.camel.Exchange |
createExchange(software.amazon.awssdk.core.ResponseInputStream<software.amazon.awssdk.services.s3.model.GetObjectResponse> s3Object,
String key) |
org.apache.camel.Producer |
createProducer() |
void |
doStart() |
void |
doStop() |
AWS2S3Configuration |
getConfiguration() |
int |
getMaxConnections() |
int |
getMaxMessagesPerPoll() |
software.amazon.awssdk.services.s3.S3Client |
getS3Client() |
void |
setConfiguration(AWS2S3Configuration 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(software.amazon.awssdk.services.s3.S3Client 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 AWS2S3Endpoint(String uri, org.apache.camel.Component comp, AWS2S3Configuration 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(software.amazon.awssdk.core.ResponseInputStream<software.amazon.awssdk.services.s3.model.GetObjectResponse> s3Object,
String key)
public org.apache.camel.Exchange createExchange(org.apache.camel.ExchangePattern pattern,
software.amazon.awssdk.core.ResponseInputStream<software.amazon.awssdk.services.s3.model.GetObjectResponse> s3Object,
String key)
public AWS2S3Configuration getConfiguration()
public void setConfiguration(AWS2S3Configuration configuration)
public void setS3Client(software.amazon.awssdk.services.s3.S3Client s3Client)
public software.amazon.awssdk.services.s3.S3Client getS3Client()
public int getMaxMessagesPerPoll()
public void setMaxMessagesPerPoll(int maxMessagesPerPoll)
public int getMaxConnections()
public void setMaxConnections(int maxConnections)
Apache Camel