Versions Compared

Key

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

...

The strategy has the following options:

Option

Default

Description

spoolDirectory

${java.io.tmpdir}camel-tmp-#uuid#

Base directory where temporary files for spooled streams should be stored. This option supports naming patterns as documented below.

spoolThreshold

128kb

Size in bytes when the stream should be spooled to disk instead of keeping in memory. Use a value of 0 or negative to disable it all together so streams is always kept in memory regardless of their size.

spoolChiper

null

If set, the temporary files are encrypted using the specified cipher transformation (i.e., a valid stream or 8-bit cipher name such as "RC4", "AES/CTR/NoPadding". An empty name "" is treated as null).

bufferSize

4096

Size in bytes of the buffer used when copying streams.

removeSpoolDirectoryWhenStopping

true

Whether to remove the spool directory when stopping CamelContext.

...

The following patterns is supported:

  • #uuid# = a random UUID
  • #camelId# = the CamelContext id (eg the name)
  • #name# - same as #camelId#
  • #counter# - an incrementing counter
  • #bundleId# - the OSGi bundle id (only for OSGi environments)
  • #symbolicName# - the OSGi symbolic name (only for OSGi environments)
  • #version# - the OSGi bundle version (only for OSGi environments)
  • ${env:key} - the environment variable with the key
  • ${key} - the JVM system property with the key

...