Interface XsltEndpointBuilderFactory.XsltEndpointBuilder

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

    public static interface XsltEndpointBuilderFactory.XsltEndpointBuilder
    extends org.apache.camel.builder.EndpointProducerBuilder
    Builder for endpoint for the XSLT component.
    • Method Detail

      • contentCache

        default XsltEndpointBuilderFactory.XsltEndpointBuilder contentCache​(boolean contentCache)
        Cache for the resource content (the stylesheet file) when it is loaded. If set to false Camel will reload the stylesheet file on each message processing. This is good for development. A cached stylesheet can be forced to reload at runtime via JMX using the clearCachedStylesheet operation. The option is a: boolean type. Default: true Group: producer
      • contentCache

        default XsltEndpointBuilderFactory.XsltEndpointBuilder contentCache​(String contentCache)
        Cache for the resource content (the stylesheet file) when it is loaded. If set to false Camel will reload the stylesheet file on each message processing. This is good for development. A cached stylesheet can be forced to reload at runtime via JMX using the clearCachedStylesheet operation. The option will be converted to a boolean type. Default: true Group: producer
      • deleteOutputFile

        default XsltEndpointBuilderFactory.XsltEndpointBuilder deleteOutputFile​(boolean deleteOutputFile)
        If you have output=file then this option dictates whether or not the output file should be deleted when the Exchange is done processing. For example suppose the output file is a temporary file, then it can be a good idea to delete it after use. The option is a: boolean type. Default: false Group: producer
      • deleteOutputFile

        default XsltEndpointBuilderFactory.XsltEndpointBuilder deleteOutputFile​(String deleteOutputFile)
        If you have output=file then this option dictates whether or not the output file should be deleted when the Exchange is done processing. For example suppose the output file is a temporary file, then it can be a good idea to delete it after use. The option will be converted to a boolean type. Default: false Group: producer
      • failOnNullBody

        default XsltEndpointBuilderFactory.XsltEndpointBuilder failOnNullBody​(boolean failOnNullBody)
        Whether or not to throw an exception if the input body is null. The option is a: boolean type. Default: true Group: producer
      • lazyStartProducer

        default XsltEndpointBuilderFactory.XsltEndpointBuilder 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: boolean type. Default: false Group: producer
      • lazyStartProducer

        default XsltEndpointBuilderFactory.XsltEndpointBuilder 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 boolean type. Default: false Group: producer
      • output

        default XsltEndpointBuilderFactory.XsltEndpointBuilder output​(XsltEndpointBuilderFactory.XsltOutput output)
        Option to specify which output type to use. Possible values are: string, bytes, DOM, file. The first three options are all in memory based, where as file is streamed directly to a java.io.File. For file you must specify the filename in the IN header with the key Exchange.XSLT_FILE_NAME which is also CamelXsltFileName. Also any paths leading to the filename must be created beforehand, otherwise an exception is thrown at runtime. The option is a: org.apache.camel.component.xslt.XsltOutput type. Default: string Group: producer
      • output

        default XsltEndpointBuilderFactory.XsltEndpointBuilder output​(String output)
        Option to specify which output type to use. Possible values are: string, bytes, DOM, file. The first three options are all in memory based, where as file is streamed directly to a java.io.File. For file you must specify the filename in the IN header with the key Exchange.XSLT_FILE_NAME which is also CamelXsltFileName. Also any paths leading to the filename must be created beforehand, otherwise an exception is thrown at runtime. The option will be converted to a org.apache.camel.component.xslt.XsltOutput type. Default: string Group: producer
      • transformerCacheSize

        default XsltEndpointBuilderFactory.XsltEndpointBuilder transformerCacheSize​(int transformerCacheSize)
        The number of javax.xml.transform.Transformer object that are cached for reuse to avoid calls to Template.newTransformer(). The option is a: int type. Default: 0 Group: producer
      • transformerCacheSize

        default XsltEndpointBuilderFactory.XsltEndpointBuilder transformerCacheSize​(String transformerCacheSize)
        The number of javax.xml.transform.Transformer object that are cached for reuse to avoid calls to Template.newTransformer(). The option will be converted to a int type. Default: 0 Group: producer