Interface BraintreeEndpointBuilderFactory.BraintreeEndpointBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointProducerBuilder
,org.apache.camel.EndpointProducerResolver
- Enclosing interface:
- BraintreeEndpointBuilderFactory
public static interface BraintreeEndpointBuilderFactory.BraintreeEndpointBuilder extends org.apache.camel.builder.EndpointProducerBuilder
Builder for endpoint for the Braintree component.
-
-
Method Summary
-
-
-
Method Detail
-
advanced
default BraintreeEndpointBuilderFactory.AdvancedBraintreeEndpointBuilder advanced()
-
environment
default BraintreeEndpointBuilderFactory.BraintreeEndpointBuilder environment(String environment)
The environment Either SANDBOX or PRODUCTION. The option is a: <code>java.lang.String</code> type. Group: producer- Parameters:
environment
- the value to set- Returns:
- the dsl builder
-
inBody
default BraintreeEndpointBuilderFactory.BraintreeEndpointBuilder inBody(String inBody)
Sets the name of a parameter to be passed in the exchange In Body. The option is a: <code>java.lang.String</code> type. Group: producer- Parameters:
inBody
- the value to set- Returns:
- the dsl builder
-
lazyStartProducer
default BraintreeEndpointBuilderFactory.BraintreeEndpointBuilder lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing. The option is a: <code>boolean</code> type. Default: false Group: producer- Parameters:
lazyStartProducer
- the value to set- Returns:
- the dsl builder
-
lazyStartProducer
default BraintreeEndpointBuilderFactory.BraintreeEndpointBuilder lazyStartProducer(String lazyStartProducer)
Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing. The option will be converted to a <code>boolean</code> type. Default: false Group: producer- Parameters:
lazyStartProducer
- the value to set- Returns:
- the dsl builder
-
merchantId
default BraintreeEndpointBuilderFactory.BraintreeEndpointBuilder merchantId(String merchantId)
The merchant id provided by Braintree. The option is a: <code>java.lang.String</code> type. Group: producer- Parameters:
merchantId
- the value to set- Returns:
- the dsl builder
-
httpLogLevel
default BraintreeEndpointBuilderFactory.BraintreeEndpointBuilder httpLogLevel(String httpLogLevel)
Set logging level for http calls, see java.util.logging.Level. The option is a: <code>java.lang.String</code> type. Group: logging- Parameters:
httpLogLevel
- the value to set- Returns:
- the dsl builder
-
httpLogName
default BraintreeEndpointBuilderFactory.BraintreeEndpointBuilder httpLogName(String httpLogName)
Set log category to use to log http calls. The option is a: <code>java.lang.String</code> type. Default: Braintree Group: logging- Parameters:
httpLogName
- the value to set- Returns:
- the dsl builder
-
logHandlerEnabled
default BraintreeEndpointBuilderFactory.BraintreeEndpointBuilder logHandlerEnabled(boolean logHandlerEnabled)
Sets whether to enable the BraintreeLogHandler. It may be desirable to set this to 'false' where an existing JUL - SLF4J logger bridge is on the classpath. This option can also be configured globally on the BraintreeComponent. The option is a: <code>boolean</code> type. Default: true Group: logging- Parameters:
logHandlerEnabled
- the value to set- Returns:
- the dsl builder
-
logHandlerEnabled
default BraintreeEndpointBuilderFactory.BraintreeEndpointBuilder logHandlerEnabled(String logHandlerEnabled)
Sets whether to enable the BraintreeLogHandler. It may be desirable to set this to 'false' where an existing JUL - SLF4J logger bridge is on the classpath. This option can also be configured globally on the BraintreeComponent. The option will be converted to a <code>boolean</code> type. Default: true Group: logging- Parameters:
logHandlerEnabled
- the value to set- Returns:
- the dsl builder
-
proxyHost
default BraintreeEndpointBuilderFactory.BraintreeEndpointBuilder proxyHost(String proxyHost)
The proxy host. The option is a: <code>java.lang.String</code> type. Group: proxy- Parameters:
proxyHost
- the value to set- Returns:
- the dsl builder
-
proxyPort
default BraintreeEndpointBuilderFactory.BraintreeEndpointBuilder proxyPort(Integer proxyPort)
The proxy port. The option is a: <code>java.lang.Integer</code> type. Group: proxy- Parameters:
proxyPort
- the value to set- Returns:
- the dsl builder
-
proxyPort
default BraintreeEndpointBuilderFactory.BraintreeEndpointBuilder proxyPort(String proxyPort)
The proxy port. The option will be converted to a <code>java.lang.Integer</code> type. Group: proxy- Parameters:
proxyPort
- the value to set- Returns:
- the dsl builder
-
accessToken
default BraintreeEndpointBuilderFactory.BraintreeEndpointBuilder accessToken(String accessToken)
The access token granted by a merchant to another in order to process transactions on their behalf. Used in place of environment, merchant id, public key and private key fields. The option is a: <code>java.lang.String</code> type. Group: security- Parameters:
accessToken
- the value to set- Returns:
- the dsl builder
-
privateKey
default BraintreeEndpointBuilderFactory.BraintreeEndpointBuilder privateKey(String privateKey)
The private key provided by Braintree. The option is a: <code>java.lang.String</code> type. Group: security- Parameters:
privateKey
- the value to set- Returns:
- the dsl builder
-
publicKey
default BraintreeEndpointBuilderFactory.BraintreeEndpointBuilder publicKey(String publicKey)
The public key provided by Braintree. The option is a: <code>java.lang.String</code> type. Group: security- Parameters:
publicKey
- the value to set- Returns:
- the dsl builder
-
-