Interface VelocityEndpointBuilderFactory.VelocityBuilders

    • Method Detail

      • velocity

        default VelocityEndpointBuilderFactory.VelocityHeaderNameBuilder velocity()
        Velocity (camel-velocity) Transform messages using a Velocity template. Category: transformation Since: 1.2 Maven coordinates: org.apache.camel:camel-velocity
        Returns:
        the dsl builder for the headers' name.
      • velocity

        default VelocityEndpointBuilderFactory.VelocityEndpointBuilder velocity​(String path)
        Velocity (camel-velocity) Transform messages using a Velocity template. Category: transformation Since: 1.2 Maven coordinates: org.apache.camel:camel-velocity Syntax: velocity:resourceUri Path parameter: resourceUri (required) Path to the resource. You can prefix with: classpath, file, http, ref, or bean. classpath, file and http loads the resource using these protocols (classpath is default). ref will lookup the resource in the registry. bean will call a method on a bean to be used as the resource. For bean you can specify the method name after dot, eg bean:myBean.myMethod.
        Parameters:
        path - resourceUri
        Returns:
        the dsl builder
      • velocity

        default VelocityEndpointBuilderFactory.VelocityEndpointBuilder velocity​(String componentName,
                                                                                String path)
        Velocity (camel-velocity) Transform messages using a Velocity template. Category: transformation Since: 1.2 Maven coordinates: org.apache.camel:camel-velocity Syntax: velocity:resourceUri Path parameter: resourceUri (required) Path to the resource. You can prefix with: classpath, file, http, ref, or bean. classpath, file and http loads the resource using these protocols (classpath is default). ref will lookup the resource in the registry. bean will call a method on a bean to be used as the resource. For bean you can specify the method name after dot, eg bean:myBean.myMethod.
        Parameters:
        componentName - to use a custom component name for the endpoint instead of the default name
        path - resourceUri
        Returns:
        the dsl builder