User manual

camel transform route

Transform Camel routes to XML, YAML or Java format

Usage

camel transform route [options]

Options

Option Description Default Type

--compile

Compile and run Java routes to transform them. By default Java routes are read without compiling them, and compiled only when a route cannot be read that way

false

boolean

--download

Whether to allow automatic downloading JAR dependencies (over the internet)

true

boolean

--format

Output format (xml, yaml, java), if only yaml files are provided, the format defaults to xml and vice versa. Java is converted without running the routes, one route builder class per file

String

--fresh

Make sure we use fresh (i.e. non-cached) resources

false

boolean

--ignore-loading-error

Whether to ignore route loading and compilation errors (use this with care!)

boolean

--output

File or directory to store transformed files. If none provide then output is printed to console. Use clipboard as name to copy content into clipboard.

String

--repo,--repos

Additional maven repositories for download on-demand (Use commas to separate multiple repositories)

String

--resolve-placeholders

Whether to resolve property placeholders in the dumped output

false

boolean

--uri-as-parameters

Whether to expand URIs into separated key/value parameters (only in use for YAML format)

true

boolean

-h,--help

Display the help and sub-commands

boolean