Description
Currently, the configuration options for CachedOutputStream is limited. These options must be configured using the system properties or explicitly per instance using the constructor argument or the corresponding setter methods.
To make it easier to configure CachedOutputStream per scenario without changing much of the code, this patch will add a mechanism in CachedOutputStream to read these properties from the bus associated with the thread.
In this way, the existing components can directly benefit this new configuration option.