@UriEndpoint(scheme="braintree",
title="Braintree",
syntax="braintree:name",
consumerClass=BraintreeConsumer.class,
label="api,cloud,payment")
public class BraintreeEndpoint
extends org.apache.camel.util.component.AbstractApiEndpoint<BraintreeApiName,BraintreeConfiguration>
| Constructor and Description |
|---|
BraintreeEndpoint(String uri,
BraintreeComponent component,
BraintreeApiName apiName,
String methodName,
BraintreeConfiguration configuration,
com.braintreegateway.BraintreeGateway gateway) |
| 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) |
protected org.apache.camel.util.component.ApiMethodPropertiesHelper<BraintreeConfiguration> |
getPropertiesHelper() |
protected String |
getThreadProfileName() |
configureProperties, getApiName, getCandidates, getConfiguration, getEndpointProperties, getEndpointPropertyNames, getExecutorService, getInBody, getMethodHelper, getMethodName, interceptProperties, interceptPropertyNames, isSingleton, setInBodyconfigureConsumer, configurePollingConsumer, createEndpointConfiguration, createEndpointUri, createExchange, createExchange, createExchange, createPollingConsumer, doStart, doStop, equals, getCamelContext, getComponent, 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, toStringdoResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendpublic BraintreeEndpoint(String uri, BraintreeComponent component, BraintreeApiName apiName, String methodName, BraintreeConfiguration configuration, com.braintreegateway.BraintreeGateway gateway)
public org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor)
throws Exception
Exceptionprotected org.apache.camel.util.component.ApiMethodPropertiesHelper<BraintreeConfiguration> getPropertiesHelper()
getPropertiesHelper in class org.apache.camel.util.component.AbstractApiEndpoint<BraintreeApiName,BraintreeConfiguration>protected String getThreadProfileName()
getThreadProfileName in class org.apache.camel.util.component.AbstractApiEndpoint<BraintreeApiName,BraintreeConfiguration>protected void afterConfigureProperties()
afterConfigureProperties in class org.apache.camel.util.component.AbstractApiEndpoint<BraintreeApiName,BraintreeConfiguration>public Object getApiProxy(org.apache.camel.util.component.ApiMethod method, Map<String,Object> args)
getApiProxy in class org.apache.camel.util.component.AbstractApiEndpoint<BraintreeApiName,BraintreeConfiguration>Apache Camel