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 Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default XsltEndpointBuilderFactory.AdvancedXsltEndpointBuilder
advanced()
default XsltEndpointBuilderFactory.XsltEndpointBuilder
contentCache(boolean contentCache)
Cache for the resource content (the stylesheet file) when it is loaded.default XsltEndpointBuilderFactory.XsltEndpointBuilder
contentCache(String contentCache)
Cache for the resource content (the stylesheet file) when it is loaded.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.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.default XsltEndpointBuilderFactory.XsltEndpointBuilder
failOnNullBody(boolean failOnNullBody)
Whether or not to throw an exception if the input body is null.default XsltEndpointBuilderFactory.XsltEndpointBuilder
failOnNullBody(String failOnNullBody)
Whether or not to throw an exception if the input body is null.default XsltEndpointBuilderFactory.XsltEndpointBuilder
output(String output)
Option to specify which output type to use.default XsltEndpointBuilderFactory.XsltEndpointBuilder
output(org.apache.camel.component.xslt.XsltOutput output)
Option to specify which output type to use.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().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().
-
-
-
Method Detail
-
advanced
default XsltEndpointBuilderFactory.AdvancedXsltEndpointBuilder advanced()
-
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: <code>boolean</code> type. Default: true Group: producer- Parameters:
contentCache
- the value to set- Returns:
- the dsl builder
-
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 <code>boolean</code> type. Default: true Group: producer- Parameters:
contentCache
- the value to set- Returns:
- the dsl builder
-
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: <code>boolean</code> type. Default: false Group: producer- Parameters:
deleteOutputFile
- the value to set- Returns:
- the dsl builder
-
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 <code>boolean</code> type. Default: false Group: producer- Parameters:
deleteOutputFile
- the value to set- Returns:
- the dsl builder
-
failOnNullBody
default XsltEndpointBuilderFactory.XsltEndpointBuilder failOnNullBody(boolean failOnNullBody)
Whether or not to throw an exception if the input body is null. The option is a: <code>boolean</code> type. Default: true Group: producer- Parameters:
failOnNullBody
- the value to set- Returns:
- the dsl builder
-
failOnNullBody
default XsltEndpointBuilderFactory.XsltEndpointBuilder failOnNullBody(String failOnNullBody)
Whether or not to throw an exception if the input body is null. The option will be converted to a <code>boolean</code> type. Default: true Group: producer- Parameters:
failOnNullBody
- the value to set- Returns:
- the dsl builder
-
output
default XsltEndpointBuilderFactory.XsltEndpointBuilder output(org.apache.camel.component.xslt.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 XsltConstants.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: <code>org.apache.camel.component.xslt.XsltOutput</code> type. Default: string Group: producer- Parameters:
output
- the value to set- Returns:
- the dsl builder
-
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 XsltConstants.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 <code>org.apache.camel.component.xslt.XsltOutput</code> type. Default: string Group: producer- Parameters:
output
- the value to set- Returns:
- the dsl builder
-
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: <code>int</code> type. Default: 0 Group: producer- Parameters:
transformerCacheSize
- the value to set- Returns:
- the dsl builder
-
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 <code>int</code> type. Default: 0 Group: producer- Parameters:
transformerCacheSize
- the value to set- Returns:
- the dsl builder
-
-