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 Detail

      • 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
      • 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
      • 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