@UriEndpoint(scheme="box",
title="Box",
syntax="box:apiName/methodName",
consumerClass=BoxConsumer.class,
consumerPrefix="consumer",
label="api,file,cloud")
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, setInBodyconfigureConsumer, configurePollingConsumer, createEndpointConfiguration, createEndpointUri, createExchange, createExchange, createExchange, createPollingConsumer, equals, getCamelContext, getConsumerProperties, getEndpointConfiguration, getEndpointKey, getEndpointUri, getExchangePattern, getId, getPollingConsumerQueueSize, hashCode, isLenientProperties, isPollingConsumerBlockWhenFull, isSynchronous, setCamelContext, setConsumerProperties, setEndpointConfiguration, setEndpointUri, setEndpointUriIfNotSpecified, setExchangePattern, setPollingConsumerBlockWhenFull, setPollingConsumerQueueSize, setProperties, setSynchronous, toStringdoResume, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendpublic BoxEndpoint(String uri, BoxComponent component, BoxApiName apiName, String methodName, BoxConfiguration endpointConfiguration)
public org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor)
throws Exception
Exceptionprotected 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.DefaultEndpointpublic void interceptProperties(Map<String,Object> properties)
interceptProperties in interface org.apache.camel.util.component.PropertiesInterceptorinterceptProperties 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.DefaultEndpointExceptionprotected void doStop()
throws Exception
doStop in class org.apache.camel.impl.DefaultEndpointExceptionpublic void doShutdown()
throws Exception
doShutdown in class org.apache.camel.support.ServiceSupportExceptionpublic CachedBoxClient getBoxClient()
Apache Camel