Versions Compared

Key

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

...

Bus Property Name

Value

bus.io.CachedOutputStream.Threshold

The threshold value in bytes to switch from memory to file caching. The default value is 128K for CachedOutputStream and 64K for CachedWriter (corresponds org.apache.cxf.io.CachedOutputStream.Threshold system property).

 bus.io.CachedOutputStreamCleaner.Delay

The delay (in ms) for cleaning up unclosed CachedOutputStream instances. 30 minutes is specified by default, the minimum value is 2 seconds. If the value of the delay is set to 0 (or is negative), the cleaner will be deactivated.

bus.io.CachedOutputStreamCleaner.CleanOnShutdownForces cleaning of the unclosed CachedOutputStream instances on Bus shutdown. The default value is "true", if the cleaner is deactivated or the value is set to "false", no cleanup attempt on shutdown will be performed.

In some edge cases, the CachedOutputStream instances may not be closed and, if backed by temporary files, may fill up the file system (it applies to servers and clients). The CachedOutputStreamCleaner bus extension could be used to provide the custom cleaning mechanism for such dangling streams (by default, the extension is implemented by DelayedCachedOutputStreamCleaner and run periodic cleanup set by bus.io.CachedOutputStreamCleaner.Delay bus property).

...