Versions Compared

Key

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

...

Property

Default

Description

CamelCachedOutputStreamBufferSize

2kb

Camel 2.9.4, 2.10.2, 2.11.0: Size in bytes of the buffer used in the stream.

CamelCachedOutputStreamThreshold

64kb

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.

CamelCachedOutputStreamOutputDirectory

java.io.tmpdir

Base directory where temporary files for spooled streams should be stored.

CamelCachedOutputStreamCipherTransformation

null

Camel 2.11.0: 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).

You set these properties on the CamelContext as shown below:

...