Class BraintreeEndpoint
- java.lang.Object
-
- org.apache.camel.support.service.BaseService
-
- org.apache.camel.support.service.ServiceSupport
-
- org.apache.camel.support.DefaultEndpoint
-
- org.apache.camel.support.ScheduledPollEndpoint
-
- org.apache.camel.support.component.AbstractApiEndpoint<BraintreeApiName,BraintreeConfiguration>
-
- org.apache.camel.component.braintree.BraintreeEndpoint
-
- All Implemented Interfaces:
AutoCloseable,org.apache.camel.CamelContextAware,org.apache.camel.Endpoint,org.apache.camel.IsSingleton,org.apache.camel.Service,org.apache.camel.ShutdownableService,org.apache.camel.spi.HasId,org.apache.camel.StatefulService,org.apache.camel.support.component.PropertiesInterceptor,org.apache.camel.support.component.PropertyNamesInterceptor,org.apache.camel.SuspendableService
@UriEndpoint(firstVersion="2.17.0", scheme="braintree", title="Braintree", syntax="braintree:apiName/methodName", category={CLOUD,PAYMENT}) public class BraintreeEndpoint extends org.apache.camel.support.component.AbstractApiEndpoint<BraintreeApiName,BraintreeConfiguration>Process payments using Braintree Payments.
-
-
Constructor Summary
Constructors Constructor Description BraintreeEndpoint(String uri, BraintreeComponent component, BraintreeApiName apiName, String methodName, BraintreeConfiguration configuration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidafterConfigureProperties()org.apache.camel.ConsumercreateConsumer(org.apache.camel.Processor processor)org.apache.camel.ProducercreateProducer()ObjectgetApiProxy(org.apache.camel.support.component.ApiMethod method, Map<String,Object> args)BraintreeComponentgetComponent()protected org.apache.camel.support.component.ApiMethodPropertiesHelper<BraintreeConfiguration>getPropertiesHelper()protected StringgetThreadProfileName()-
Methods inherited from class org.apache.camel.support.component.AbstractApiEndpoint
configureProperties, getApiName, getCandidates, getConfiguration, getEndpointProperties, getEndpointPropertyNames, getExecutorService, getInBody, getMethodHelper, getMethodName, interceptProperties, interceptPropertyNames, setInBody
-
Methods inherited from class org.apache.camel.support.ScheduledPollEndpoint
configureConsumer, configureScheduledPollConsumerProperties, doConfigureConsumer, doStart, doStop, getBackoffErrorThreshold, getBackoffIdleThreshold, getBackoffMultiplier, 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, setUseFixedDelay
-
Methods inherited from class org.apache.camel.support.DefaultEndpoint
configurePollingConsumer, createAsyncProducer, createEndpointUri, createExchange, createExchange, createPollingConsumer, doInit, equals, getCamelContext, getEndpointKey, getEndpointUri, getExceptionHandler, getExchangePattern, getId, getPollingConsumerBlockTimeout, getPollingConsumerQueueSize, hashCode, isBasicPropertyBinding, isBridgeErrorHandler, isLazyStartProducer, isLenientProperties, isPollingConsumerBlockWhenFull, isSingleton, isSynchronous, setBasicPropertyBinding, setBridgeErrorHandler, setCamelContext, setComponent, setEndpointUri, setEndpointUriIfNotSpecified, setExceptionHandler, setExchangePattern, setLazyStartProducer, setPollingConsumerBlockTimeout, setPollingConsumerBlockWhenFull, setPollingConsumerQueueSize, setProperties, setSynchronous, toString
-
Methods inherited from class org.apache.camel.support.service.BaseService
build, 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, suspend
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Constructor Detail
-
BraintreeEndpoint
public BraintreeEndpoint(String uri, BraintreeComponent component, BraintreeApiName apiName, String methodName, BraintreeConfiguration configuration)
-
-
Method Detail
-
createConsumer
public org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor) throws Exception- Throws:
Exception
-
getComponent
public BraintreeComponent getComponent()
- Overrides:
getComponentin classorg.apache.camel.support.DefaultEndpoint
-
getPropertiesHelper
protected org.apache.camel.support.component.ApiMethodPropertiesHelper<BraintreeConfiguration> getPropertiesHelper()
- Specified by:
getPropertiesHelperin classorg.apache.camel.support.component.AbstractApiEndpoint<BraintreeApiName,BraintreeConfiguration>
-
getThreadProfileName
protected String getThreadProfileName()
- Specified by:
getThreadProfileNamein classorg.apache.camel.support.component.AbstractApiEndpoint<BraintreeApiName,BraintreeConfiguration>
-
afterConfigureProperties
protected void afterConfigureProperties()
- Specified by:
afterConfigurePropertiesin classorg.apache.camel.support.component.AbstractApiEndpoint<BraintreeApiName,BraintreeConfiguration>
-
getApiProxy
public Object getApiProxy(org.apache.camel.support.component.ApiMethod method, Map<String,Object> args)
- Specified by:
getApiProxyin classorg.apache.camel.support.component.AbstractApiEndpoint<BraintreeApiName,BraintreeConfiguration>
-
-