-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
camel-quarkus-2.7-GA
-
None
-
False
-
False
-
-
0
See https://issues.apache.org/jira/browse/CAMEL-18494
When payloads are known to be always larger that the hardcoded MIN_BUFFER_SIZE of 2048, this results in the resizing of the buffer.
There is also the belief that when a gc event occurs, the buffer then returns to the default size of MIN_BUFFER_SIZE, which again results in another resizing of the buffer when larger than MIN_BUFFER_SIZE payloads arrive.
It is the hope that allowing for a customized MIN_BUFFER_SIZE would result in an overall faster sustained throughput when the payload size is known to be larger than MIN_BUFFER_SIZE (2048).