Streaming Strategy Reference
Standard Support for Mule 4.1 ended on November 2, 2020, and this version of Mule reached its End of Life on November 2, 2022, when Extended Support ended. Deployments of new applications to CloudHub that use this version of Mule are no longer allowed. Only in-place updates to applications are permitted. MuleSoft recommends that you upgrade to the latest version of Mule 4 that is in Standard Support so that your applications run with the latest fixes and security enhancements. |
Repeatable in Memory Stream Reference
Parameter Name | Is required? | Expressions | Default Value | Description |
---|---|---|---|---|
initialBufferSize |
NO |
NO |
256 |
This is the amount of memory that will be allocated in order to consume the stream and provide random access to it. If the stream contains more data than can be fit into this buffer, then it will be expanded by according to the bufferSizeIncrement attribute, with an upper limit of maxInMemorySize. Default value is 256 KB. |
bufferSizeIncrement |
NO |
NO |
256 |
This is by how much will be buffer size by expanded if it exceeds its initial size. Setting a value of zero or lower will mean that the buffer should not expand, meaning that a STREAM_MAXIMUM_SIZE_EXCEEDED error will be raised when the buffer gets full. Default value is 256 KB. |
maxInMemorySize |
NO |
NO |
1024 |
This is the maximum amount of memory that will be used. If more than that is used then a STREAM_MAXIMUM_SIZE_EXCEEDED error will be raised. A value lower or equal to zero means no limit. Defaults to 1024 |
bufferUnit |
NO |
NO |
KB |
The unit in which all these attributes are expressed. Possible values: BYTE, KB, MB, GB. |
File Stored Input Stream
Parameter Name | Is required? | Expressions | Default Value | Description |
---|---|---|---|---|
maxInMemorySize |
NO |
NO |
1024 |
Defines the maximum memory that the stream should use to keep data in memory. If more than that is consumed then it will start to buffer the content on disk. Default value is 256 KB. |
bufferUnit |
NO |
NO |
KB |
The unit in which all these attributes are expressed. Possible values: BYTE, KB, MB, GB. |