Interface ThymeleafEndpointBuilderFactory.ThymeleafEndpointBuilder

All Superinterfaces:
org.apache.camel.builder.EndpointProducerBuilder, org.apache.camel.EndpointProducerResolver
Enclosing interface:
ThymeleafEndpointBuilderFactory

public static interface ThymeleafEndpointBuilderFactory.ThymeleafEndpointBuilder extends org.apache.camel.builder.EndpointProducerBuilder
Builder for endpoint for the Thymeleaf component.
  • Method Details

    • advanced

    • allowContextMapAll

      default ThymeleafEndpointBuilderFactory.ThymeleafEndpointBuilder allowContextMapAll(boolean allowContextMapAll)
      Sets whether the context map should allow access to all details. By default only the message body and headers can be accessed. This option can be enabled for full access to the current Exchange and CamelContext. Doing so impose a potential security risk as this opens access to the full power of CamelContext API. The option is a: boolean type. Default: false Group: producer
      Parameters:
      allowContextMapAll - the value to set
      Returns:
      the dsl builder
    • allowContextMapAll

      default ThymeleafEndpointBuilderFactory.ThymeleafEndpointBuilder allowContextMapAll(String allowContextMapAll)
      Sets whether the context map should allow access to all details. By default only the message body and headers can be accessed. This option can be enabled for full access to the current Exchange and CamelContext. Doing so impose a potential security risk as this opens access to the full power of CamelContext API. The option will be converted to a boolean type. Default: false Group: producer
      Parameters:
      allowContextMapAll - the value to set
      Returns:
      the dsl builder
    • cacheable

      Whether templates have to be considered cacheable or not. The option is a: java.lang.Boolean type. Group: producer
      Parameters:
      cacheable - the value to set
      Returns:
      the dsl builder
    • cacheable

      Whether templates have to be considered cacheable or not. The option will be converted to a java.lang.Boolean type. Group: producer
      Parameters:
      cacheable - the value to set
      Returns:
      the dsl builder
    • cacheTimeToLive

      default ThymeleafEndpointBuilderFactory.ThymeleafEndpointBuilder cacheTimeToLive(Long cacheTimeToLive)
      The cache Time To Live for templates, expressed in milliseconds. The option is a: java.lang.Long type. Group: producer
      Parameters:
      cacheTimeToLive - the value to set
      Returns:
      the dsl builder
    • cacheTimeToLive

      default ThymeleafEndpointBuilderFactory.ThymeleafEndpointBuilder cacheTimeToLive(String cacheTimeToLive)
      The cache Time To Live for templates, expressed in milliseconds. The option will be converted to a java.lang.Long type. Group: producer
      Parameters:
      cacheTimeToLive - the value to set
      Returns:
      the dsl builder
    • checkExistence

      default ThymeleafEndpointBuilderFactory.ThymeleafEndpointBuilder checkExistence(Boolean checkExistence)
      Whether a template resources will be checked for existence before being returned. The option is a: java.lang.Boolean type. Group: producer
      Parameters:
      checkExistence - the value to set
      Returns:
      the dsl builder
    • checkExistence

      default ThymeleafEndpointBuilderFactory.ThymeleafEndpointBuilder checkExistence(String checkExistence)
      Whether a template resources will be checked for existence before being returned. The option will be converted to a java.lang.Boolean type. Group: producer
      Parameters:
      checkExistence - the value to set
      Returns:
      the dsl builder
    • contentCache

      default ThymeleafEndpointBuilderFactory.ThymeleafEndpointBuilder contentCache(boolean contentCache)
      Sets whether to use resource content cache or not. The option is a: boolean type. Default: false Group: producer
      Parameters:
      contentCache - the value to set
      Returns:
      the dsl builder
    • contentCache

      Sets whether to use resource content cache or not. The option will be converted to a boolean type. Default: false Group: producer
      Parameters:
      contentCache - the value to set
      Returns:
      the dsl builder
    • templateMode

      The template mode to be applied to templates. The option is a: java.lang.String type. Default: HTML Group: producer
      Parameters:
      templateMode - the value to set
      Returns:
      the dsl builder