@UriEndpoint(firstVersion="2.14.0",
scheme="box",
title="Box",
syntax="box:apiName/methodName",
apiSyntax="apiName/methodName",
consumerPrefix="consumer",
category={CLOUD,FILE,API},
lenientProperties=true)
@Metadata(excludeProperties="startScheduler,initialDelay,delay,timeUnit,useFixedDelay,pollStrategy,runLoggingLevel,sendEmptyMessageWhenIdle,greedy,scheduler,schedulerProperties,scheduledExecutorService,backoffMultiplier,backoffIdleThreshold,backoffErrorThreshold,repeatCount,bridgeErrorHandler")
public class BoxEndpoint
extends org.apache.camel.support.component.AbstractApiEndpoint<BoxApiName,BoxConfiguration>
| Constructor and Description |
|---|
BoxEndpoint(String uri,
BoxComponent component,
BoxApiName apiName,
String methodName,
BoxConfiguration endpointConfiguration) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
afterConfigureProperties() |
org.apache.camel.Consumer |
createConsumer(org.apache.camel.Processor processor) |
org.apache.camel.Producer |
createProducer() |
protected void |
doStart() |
Object |
getApiProxy(org.apache.camel.support.component.ApiMethod method,
Map<String,Object> args) |
com.box.sdk.BoxAPIConnection |
getBoxConnection()
The BoxAPIConnection of endpoint.
|
BoxComponent |
getComponent() |
protected org.apache.camel.support.component.ApiMethodPropertiesHelper<BoxConfiguration> |
getPropertiesHelper() |
protected String |
getThreadProfileName() |
configureConsumer, configureProperties, getApiName, getCandidates, getConfiguration, getConfigurationProperties, getConfigurationPropertyNames, getEndpointProperties, getEndpointPropertyNames, getExecutorService, getInBody, getMethodHelper, getMethodName, interceptProperties, interceptPropertyNames, setInBodyconfigureScheduledPollConsumerProperties, 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, 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, waitconfigureExchange, createAsyncProducer, createExchange, createExchange, createPollingConsumer, getCamelContext, getEndpointBaseUri, getEndpointKey, getEndpointUri, getExchangePattern, isLenientProperties, isSingletonProducer, setCamelContextpublic BoxEndpoint(String uri, BoxComponent component, BoxApiName apiName, String methodName, BoxConfiguration endpointConfiguration)
public BoxComponent getComponent()
getComponent in class org.apache.camel.support.DefaultEndpointpublic com.box.sdk.BoxAPIConnection getBoxConnection()
public org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor)
throws Exception
Exceptionprotected org.apache.camel.support.component.ApiMethodPropertiesHelper<BoxConfiguration> getPropertiesHelper()
getPropertiesHelper in class org.apache.camel.support.component.AbstractApiEndpoint<BoxApiName,BoxConfiguration>protected String getThreadProfileName()
getThreadProfileName in class org.apache.camel.support.component.AbstractApiEndpoint<BoxApiName,BoxConfiguration>protected void afterConfigureProperties()
afterConfigureProperties in class org.apache.camel.support.component.AbstractApiEndpoint<BoxApiName,BoxConfiguration>public Object getApiProxy(org.apache.camel.support.component.ApiMethod method, Map<String,Object> args)
getApiProxy in class org.apache.camel.support.component.AbstractApiEndpoint<BoxApiName,BoxConfiguration>Apache Camel