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: <code>boolean</code> 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 <code>boolean</code> 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: <code>java.lang.Boolean</code> 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 <code>java.lang.Boolean</code> 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: <code>java.lang.Long</code> 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 <code>java.lang.Long</code> 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: <code>java.lang.Boolean</code> 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 <code>java.lang.Boolean</code> 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: <code>boolean</code> 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 <code>boolean</code> type. Default: false Group: producer
      Parameters:
      contentCache - the value to set
      Returns:
      the dsl builder
    • encoding

      The character encoding to be used for reading template resources. The option is a: <code>java.lang.String</code> type. Group: producer
      Parameters:
      encoding - the value to set
      Returns:
      the dsl builder
    • order

      The order in which this template will be resolved as part of the resolver chain. The option is a: <code>java.lang.Integer</code> type. Group: producer
      Parameters:
      order - the value to set
      Returns:
      the dsl builder
    • order

      The order in which this template will be resolved as part of the resolver chain. The option will be converted to a <code>java.lang.Integer</code> type. Group: producer
      Parameters:
      order - the value to set
      Returns:
      the dsl builder
    • prefix

      An optional prefix added to template names to convert them into resource names. The option is a: <code>java.lang.String</code> type. Group: producer
      Parameters:
      prefix - the value to set
      Returns:
      the dsl builder
    • resolver

      default ThymeleafEndpointBuilderFactory.ThymeleafEndpointBuilder resolver(org.apache.camel.component.thymeleaf.ThymeleafResolverType resolver)
      The type of resolver to be used by the template engine. The option is a: <code>org.apache.camel.component.thymeleaf.ThymeleafResolverType</code> type. Default: CLASS_LOADER Group: producer
      Parameters:
      resolver - the value to set
      Returns:
      the dsl builder
    • resolver

      The type of resolver to be used by the template engine. The option will be converted to a <code>org.apache.camel.component.thymeleaf.ThymeleafResolverType</code> type. Default: CLASS_LOADER Group: producer
      Parameters:
      resolver - the value to set
      Returns:
      the dsl builder
    • suffix

      An optional suffix added to template names to convert them into resource names. The option is a: <code>java.lang.String</code> type. Group: producer
      Parameters:
      suffix - the value to set
      Returns:
      the dsl builder
    • templateMode

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