@UriEndpoint(firstVersion="3.3.0",
scheme="azure-storage-blob",
title="Azure Storage Blob Service",
syntax="azure-storage-blob:accountName/containerName",
category={CLOUD,FILE})
public class BlobEndpoint
extends org.apache.camel.support.ScheduledPollEndpoint
| Constructor and Description |
|---|
BlobEndpoint(String uri,
org.apache.camel.Component component,
BlobConfiguration configuration) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.camel.Consumer |
createConsumer(org.apache.camel.Processor processor) |
org.apache.camel.Producer |
createProducer() |
void |
doStart() |
com.azure.storage.blob.BlobServiceClient |
getBlobServiceClient()
Client to a storage account.
|
BlobConfiguration |
getConfiguration()
The component configurations
|
void |
setBlobServiceClient(com.azure.storage.blob.BlobServiceClient blobServiceClient) |
void |
setConfiguration(BlobConfiguration configuration) |
void |
setResponseOnExchange(BlobOperationResponse response,
org.apache.camel.Exchange exchange) |
configureConsumer, configureProperties, configureScheduledPollConsumerProperties, doConfigureConsumer, doStop, getBackoffErrorThreshold, getBackoffIdleThreshold, getBackoffMultiplier, getDefaultDelay, 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, setUseFixedDelayconfigureExchange, configurePollingConsumer, createAsyncProducer, createEndpointUri, createExchange, createExchange, createPollingConsumer, doInit, equals, getCamelContext, getComponent, getEndpointKey, getEndpointUri, getExceptionHandler, getExchangePattern, getId, getPollingConsumerBlockTimeout, getPollingConsumerQueueSize, hashCode, isAutowiredEnabled, isBridgeErrorHandler, isLazyStartProducer, isLenientProperties, isPollingConsumerBlockWhenFull, isPollingConsumerCopy, isSingleton, setAutowiredEnabled, setBridgeErrorHandler, setCamelContext, setComponent, setEndpointUri, setEndpointUriIfNotSpecified, setExceptionHandler, setExchangePattern, setLazyStartProducer, setPollingConsumerBlockTimeout, setPollingConsumerBlockWhenFull, setPollingConsumerCopy, setPollingConsumerQueueSize, setProperties, 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 BlobEndpoint(String uri, org.apache.camel.Component component, BlobConfiguration configuration)
public org.apache.camel.Producer createProducer()
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 setResponseOnExchange(BlobOperationResponse response, org.apache.camel.Exchange exchange)
public BlobConfiguration getConfiguration()
public void setConfiguration(BlobConfiguration configuration)
public com.azure.storage.blob.BlobServiceClient getBlobServiceClient()
BlobContainerClient through #getBlobContainerClient(String), and operations on a blob are
available on BlobClient through #getBlobContainerClient(String).getBlobClient(String).public void setBlobServiceClient(com.azure.storage.blob.BlobServiceClient blobServiceClient)
Apache Camel