blob: c591dff85e59c75933abaff7bf559b1c9058ef16 [file] [log] [blame]
{
"connector": {
"class": "org.apache.camel.kafkaconnector.xslt.CamelXsltSinkConnector",
"artifactId": "camel-xslt-kafka-connector",
"groupId": "org.apache.camel.kafkaconnector",
"id": "camel-xslt-sink",
"type": "sink",
"version": "0.7.2",
"description": "Transforms XML payload using an XSLT template."
},
"properties": {
"camel.sink.path.resourceUri": {
"name": "camel.sink.path.resourceUri",
"description": "Path to the template. The following is supported by the default URIResolver. 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",
"priority": "HIGH",
"required": "true"
},
"camel.sink.endpoint.contentCache": {
"name": "camel.sink.endpoint.contentCache",
"description": "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.",
"defaultValue": "true",
"priority": "MEDIUM",
"required": "false"
},
"camel.sink.endpoint.deleteOutputFile": {
"name": "camel.sink.endpoint.deleteOutputFile",
"description": "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.",
"defaultValue": "false",
"priority": "MEDIUM",
"required": "false"
},
"camel.sink.endpoint.failOnNullBody": {
"name": "camel.sink.endpoint.failOnNullBody",
"description": "Whether or not to throw an exception if the input body is null.",
"defaultValue": "true",
"priority": "MEDIUM",
"required": "false"
},
"camel.sink.endpoint.lazyStartProducer": {
"name": "camel.sink.endpoint.lazyStartProducer",
"description": "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.",
"defaultValue": "false",
"priority": "MEDIUM",
"required": "false"
},
"camel.sink.endpoint.output": {
"name": "camel.sink.endpoint.output",
"description": "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. One of: [string] [bytes] [DOM] [file]",
"defaultValue": "\"string\"",
"priority": "MEDIUM",
"required": "false",
"enum": [
"string",
"bytes",
"DOM",
"file"
]
},
"camel.sink.endpoint.transformerCacheSize": {
"name": "camel.sink.endpoint.transformerCacheSize",
"description": "The number of javax.xml.transform.Transformer object that are cached for reuse to avoid calls to Template.newTransformer().",
"defaultValue": "0",
"priority": "MEDIUM",
"required": "false"
},
"camel.sink.endpoint.entityResolver": {
"name": "camel.sink.endpoint.entityResolver",
"description": "To use a custom org.xml.sax.EntityResolver with javax.xml.transform.sax.SAXSource.",
"priority": "MEDIUM",
"required": "false"
},
"camel.sink.endpoint.errorListener": {
"name": "camel.sink.endpoint.errorListener",
"description": "Allows to configure to use a custom javax.xml.transform.ErrorListener. Beware when doing this then the default error listener which captures any errors or fatal errors and store information on the Exchange as properties is not in use. So only use this option for special use-cases.",
"priority": "MEDIUM",
"required": "false"
},
"camel.sink.endpoint.resultHandlerFactory": {
"name": "camel.sink.endpoint.resultHandlerFactory",
"description": "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.",
"priority": "MEDIUM",
"required": "false"
},
"camel.sink.endpoint.synchronous": {
"name": "camel.sink.endpoint.synchronous",
"description": "Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported).",
"defaultValue": "false",
"priority": "MEDIUM",
"required": "false"
},
"camel.sink.endpoint.transformerFactory": {
"name": "camel.sink.endpoint.transformerFactory",
"description": "To use a custom XSLT transformer factory",
"priority": "MEDIUM",
"required": "false"
},
"camel.sink.endpoint.transformerFactoryClass": {
"name": "camel.sink.endpoint.transformerFactoryClass",
"description": "To use a custom XSLT transformer factory, specified as a FQN class name",
"priority": "MEDIUM",
"required": "false"
},
"camel.sink.endpoint.transformerFactoryConfigurationStrategy": {
"name": "camel.sink.endpoint.transformerFactoryConfigurationStrategy",
"description": "A configuration strategy to apply on freshly created instances of TransformerFactory.",
"priority": "MEDIUM",
"required": "false"
},
"camel.sink.endpoint.uriResolver": {
"name": "camel.sink.endpoint.uriResolver",
"description": "To use a custom javax.xml.transform.URIResolver",
"priority": "MEDIUM",
"required": "false"
},
"camel.component.xslt.contentCache": {
"name": "camel.component.xslt.contentCache",
"description": "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.",
"defaultValue": "true",
"priority": "MEDIUM",
"required": "false"
},
"camel.component.xslt.lazyStartProducer": {
"name": "camel.component.xslt.lazyStartProducer",
"description": "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.",
"defaultValue": "false",
"priority": "MEDIUM",
"required": "false"
},
"camel.component.xslt.autowiredEnabled": {
"name": "camel.component.xslt.autowiredEnabled",
"description": "Whether autowiring is enabled. This is used for automatic autowiring options (the option must be marked as autowired) by looking up in the registry to find if there is a single instance of matching type, which then gets configured on the component. This can be used for automatic configuring JDBC data sources, JMS connection factories, AWS Clients, etc.",
"defaultValue": "true",
"priority": "MEDIUM",
"required": "false"
},
"camel.component.xslt.transformerFactoryClass": {
"name": "camel.component.xslt.transformerFactoryClass",
"description": "To use a custom XSLT transformer factory, specified as a FQN class name",
"priority": "MEDIUM",
"required": "false"
},
"camel.component.xslt.transformerFactoryConfigurationStrategy": {
"name": "camel.component.xslt.transformerFactoryConfigurationStrategy",
"description": "A configuration strategy to apply on freshly created instances of TransformerFactory.",
"priority": "MEDIUM",
"required": "false"
},
"camel.component.xslt.uriResolver": {
"name": "camel.component.xslt.uriResolver",
"description": "To use a custom UriResolver. Should not be used together with the option 'uriResolverFactory'.",
"priority": "MEDIUM",
"required": "false"
},
"camel.component.xslt.uriResolverFactory": {
"name": "camel.component.xslt.uriResolverFactory",
"description": "To use a custom UriResolver which depends on a dynamic endpoint resource URI. Should not be used together with the option 'uriResolver'.",
"priority": "MEDIUM",
"required": "false"
}
}
}