This property requires exactly one resource to be provided. That resource may be any of the following types: file, text.
Supports Expression Language: true (will be evaluated using flow file attributes and variable registry)Transformation Strategy | jslt-transform-transformation-strategy | Entire FlowFile | - Entire FlowFile
 - Each JSON Object

| Whether to apply the JSLT transformation to the entire FlowFile contents or each JSON object in the root-level array |
Pretty Print | jslt-transform-pretty_print | false | | Apply pretty-print formatting to the output of the JSLT transform |
Transform Cache Size | jslt-transform-cache-size | 1 | | Compiling a JSLT Transform can be fairly expensive. Ideally, this will be done only once. However, if the Expression Language is used in the transform, we may need a new Transform for each FlowFile. This value controls how many of those Transforms we cache in memory in order to avoid having to compile the Transform each time. |
Relationships:
Name | Description |
---|
success | The FlowFile with transformed content will be routed to this relationship |
failure | If a FlowFile fails processing for any reason (for example, the FlowFile is not valid JSON), it will be routed to this relationship |
Reads Attributes:
None specified.Writes Attributes:
Name | Description |
---|
mime.type | Always set to application/json |
State management:
This component does not store state.Restricted:
This component is not restricted.Input requirement:
This component requires an incoming relationship.System Resource Considerations:
Resource | Description |
---|
MEMORY | An instance of this component can cause high usage of this system resource. Multiple instances or high concurrency settings may result a degradation of performance. |