@UriEndpoint(firstVersion="2.14.0", scheme="box", title="Box", syntax="box:apiName/methodName", consumerClass=BoxConsumer.class, consumerPrefix="consumer", label="api,file,cloud", lenientProperties=true) public class BoxEndpoint extends org.apache.camel.util.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() |
Object |
getApiProxy(org.apache.camel.util.component.ApiMethod method,
Map<String,Object> args) |
com.box.sdk.BoxAPIConnection |
getBoxConnection()
The BoxAPIConnection of endpoint.
|
BoxComponent |
getComponent() |
protected org.apache.camel.util.component.ApiMethodPropertiesHelper<BoxConfiguration> |
getPropertiesHelper() |
protected String |
getThreadProfileName() |
configureProperties, getApiName, getCandidates, getConfiguration, getEndpointProperties, getEndpointPropertyNames, getExecutorService, getInBody, getMethodHelper, getMethodName, interceptProperties, interceptPropertyNames, isSingleton, setInBody
configureConsumer, configurePollingConsumer, createEndpointConfiguration, createEndpointUri, createExchange, createExchange, createExchange, createPollingConsumer, doStart, doStop, equals, getCamelContext, getConsumerProperties, getEndpointConfiguration, getEndpointKey, getEndpointUri, getExceptionHandler, getExchangePattern, getId, getPollingConsumerBlockTimeout, getPollingConsumerQueueSize, hashCode, isBridgeErrorHandler, isLenientProperties, isPollingConsumerBlockWhenFull, isSynchronous, setBridgeErrorHandler, setCamelContext, setConsumerProperties, setEndpointConfiguration, setEndpointUri, setEndpointUriIfNotSpecified, setExceptionHandler, setExchangePattern, setPollingConsumerBlockTimeout, setPollingConsumerBlockWhenFull, setPollingConsumerQueueSize, setProperties, setSynchronous, toString
doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspend
public BoxEndpoint(String uri, BoxComponent component, BoxApiName apiName, String methodName, BoxConfiguration endpointConfiguration)
public BoxComponent getComponent()
getComponent
in class org.apache.camel.impl.DefaultEndpoint
public com.box.sdk.BoxAPIConnection getBoxConnection()
public org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor) throws Exception
Exception
protected org.apache.camel.util.component.ApiMethodPropertiesHelper<BoxConfiguration> getPropertiesHelper()
getPropertiesHelper
in class org.apache.camel.util.component.AbstractApiEndpoint<BoxApiName,BoxConfiguration>
protected String getThreadProfileName()
getThreadProfileName
in class org.apache.camel.util.component.AbstractApiEndpoint<BoxApiName,BoxConfiguration>
protected void afterConfigureProperties()
afterConfigureProperties
in class org.apache.camel.util.component.AbstractApiEndpoint<BoxApiName,BoxConfiguration>
public Object getApiProxy(org.apache.camel.util.component.ApiMethod method, Map<String,Object> args)
getApiProxy
in class org.apache.camel.util.component.AbstractApiEndpoint<BoxApiName,BoxConfiguration>
Apache Camel