@UriEndpoint(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() |
void |
doShutdown() |
protected void |
doStart() |
protected void |
doStop() |
Object |
getApiProxy(org.apache.camel.util.component.ApiMethod method,
Map<String,Object> args) |
CachedBoxClient |
getBoxClient() |
BoxComponent |
getComponent() |
protected org.apache.camel.util.component.ApiMethodPropertiesHelper<BoxConfiguration> |
getPropertiesHelper() |
protected String |
getThreadProfileName() |
void |
interceptProperties(Map<String,Object> properties) |
configureProperties, getApiName, getCandidates, getConfiguration, getEndpointProperties, getEndpointPropertyNames, getExecutorService, getInBody, getMethodHelper, getMethodName, interceptPropertyNames, isSingleton, setInBody
configureConsumer, configurePollingConsumer, createEndpointConfiguration, createEndpointUri, createExchange, createExchange, createExchange, createPollingConsumer, 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, 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 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 BoxComponent getComponent()
getComponent
in class org.apache.camel.impl.DefaultEndpoint
public void interceptProperties(Map<String,Object> properties)
interceptProperties
in interface org.apache.camel.util.component.PropertiesInterceptor
interceptProperties
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>
protected void doStart() throws Exception
doStart
in class org.apache.camel.impl.DefaultEndpoint
Exception
protected void doStop() throws Exception
doStop
in class org.apache.camel.impl.DefaultEndpoint
Exception
public void doShutdown() throws Exception
doShutdown
in class org.apache.camel.support.ServiceSupport
Exception
public CachedBoxClient getBoxClient()
Apache Camel