Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The File Expression Language is an extension to the Simple language, adding file related capabilities. These capabilities is related to common use cases working with file path and names. The goal is to allow expression to be used with the File, and FTP components for setting dynamic file patterns for both consumer and producer.

...

This language is an extension to the Simple language so the Simple syntax applies also. So the table below only lists the additional.

All the file tokens uses the same expression name as the method on the java.io.File object, for instance file:absolute refers to the java.io.File.getAbsolute() method. Notice that not all expressions is supported by the current Exchange. For instance the FTP component only supports a few of the options, where as the File component support all of them.

...