Options - 6.3

Talend ESB Mediation Developer Guide

EnrichVersion
6.3
EnrichProdName
Talend Data Fabric
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Open Studio for ESB
Talend Real-Time Big Data Platform
task
Design and Development
EnrichPlatform
Talend ESB

Name

Default Value

Description

converter

null

Option to override default XmlConverter. This will lookup for the converter in the Registry. The provided converted must be of type org.apache.camel.converter.jaxp.XmlConverter.

transformerFactory

null

Option to override default TransformerFactory. This will lookup for the transformerFactory in the Registry. The provided transformer factory must be of type javax.xml.transform.TransformerFactory.

transformerFactoryClass

null

Option to override default TransformerFactory. This will create a TransformerFactoryClass instance and set it to the converter.

uriResolver

null

Camel 2.3 : Allows you to use a custom javax.xml.transformation.URIResolver. Camel will by default use its own implementation org.apache.camel.builder.xml. XsltUriResolver which is capable of loading from classpath.

resultHandlerFactory

null

Camel 2.3: Allows you to use a custom org.apache.camel.builder.xml. ResultHandlerFactory which is capable of using custom org.apache.camel.builder.xml. ResultHandler types.

failOnNullBody

true

Camel 2.3: Whether or not to throw an exception if the input body is null.

deleteOutputFile

false

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.

output

string

Camel 2.3: 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.

contentCache

true

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. A cached stylesheet can be forced to reload at runtime via JMX using the clearCachedStylesheet operation.

allowStAX

false

Whether to allow using StAX as the javax.xml.transform.Source.

transformerCacheSize

0

The number of javax.xml.transform.Transformer objects that are cached for reuse to avoid calls to Template.newTransformer().

saxon

false

Available in Camel 2.11. Whether to use Saxon as the transformerFactoryClass. If enabled then the class net.sf.saxon.TransformerFactoryImpl will be used. Saxon will need to be available in the classpath in this case.