...
Option | Default | Description |
---|---|---|
| | Base directory where temporary files for spooled streams should be stored. This option supports naming patterns as documented below. |
| | 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). |
| | 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. |
| | A percentage (1 to 99) of current used heap memory to use as threshold for spooling streams to disk. The upper bounds is based on heap committed (guaranteed memory the JVM can claim). This can be used to spool to disk when running low on memory. |
| | If |
| | Whether any or all |
| | Initial size if in-memory created stream buffers. |
| | Whether to remove the spool directory when stopping CamelContext. |
| | Whether utilization statistics is enabled. By enabling this you can see these statics for example with JMX. |
...
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
A could of examples, to store in the java temp directory with a sub directory using the CamelContext name:
...