cJSLT Standard properties
These properties are used to configure cJSLT running in the Standard Job framework.
The Standard cJSLT component belongs to the Transformation family.
Basic settings
Type |
Select the way the JSLT template will be set.
|
Resource / Version |
This field appears when Repository is selected from the Type list. Click [...] and select the resource file containing the JSLT template. Select the version of the resource if more than one version of the resource is available. |
Resource URI |
This field appears when File Path is selected from the Type list. Enter the path to the JSLT template file in your local file system. |
Cache Resource |
This option appears when Repository or File Path is selected from the Type list. Select this check box to cache the resource instead of reloading it for each message. |
Language |
This option appears when Built-In is selected from
the Type list. Select the language of the expression you use from None, Bean, Constant, CorrelationID, EL, Groovy, Header, JoSQL, JSonPath, JXPath, MVEL, OGNL, PHP, Property, Python, Ruby, Simple, SpEL, SQL, XPath, and XQuery. Select Bean if you want to call a predefined Java Bean to return the JSLT template. |
Code Style |
This option appears when Built-In is
selected from the Type list. Select from:
|
JSLT template |
This option appears when Built-In is selected from the Type list. Enter the JSLT template to be applied on incoming JSON messages. For more information about how to use the languages to create an expression, see the site http://camel.apache.org/languages.html. |
Pretty Print |
Select this check box to format and print the output JSON message in a readable way. If you clear this check box, you will have the output in one row. |
Advanced settings
URI Options |
Set the optional arguments in the corresponding table. Click [+] as many times as required to add arguments to the table. Then click the corresponding value field and enter a value. See the site https://camel.apache.org/components/3.21.x/jslt-component.html for available URI options. |
Usage
Usage rule |
cJSLT can be a middle or end component in a Route. |
Limitation |
The input content needs to be in JSON format. |