1. Home
  2. ...
  3. Data Transformation and Validation
  4. c JSLT

c JSLT

Available connectors

The JSLT component is used to transform data using templates written in JSLT. It processes input information, such as JSON or XML, reorganizing and formatting it according to a model you define.

URI Syntax: jslt:resourceUri

Main fields

Path parameters

Name
Description
Default
Type
resourceUri (producer)(required) Path to the resource. You can prefix with: classpath, file, http, ref or bean.—String

Query parameters

Name
Description
Default
Type
contentCache (producer)Defines whether to use resource content cache or not.trueBoolean

Example

The flow starts with a POST request.

The request data is transformed using the JSLT component with the expression.jslt template file. The contentCache=true parameter enables template content caching.

Finally, the transformed message is logged at info level.

cURL

Result

How happy are you with this page?

We use cookies to enhance your experience on our site. By continuing to browse, you agree to our use of cookies.Learn more