davsclaus commented on PR #23532: URL: https://github.com/apache/camel/pull/23532#issuecomment-4545235450
Addressed all 5 items: 1. **Javadoc fix** — Updated `DefaultConfigurationProperties` javadoc from "per route" to "per endpoint (for both IN and OUT directions)" 2. **Try-catch** — Wrapped both `computeBodySize()` and `computeHeadersSize()` in try-catch, returning -1 on any exception 3. **Stream cache reset** — Added `StreamCache.reset()` after computing body size in all three event paths (IN, OUT sending, OUT reply) 4. **Streaming docs** — Added note that streaming bodies (`InputStream`) require stream caching to be enabled 5. **Global feature docs** — Added note that message size tracking is global, no per-route/per-endpoint control Also added `ManagedMessageSizeStreamCachingTest` that sends a `ByteArrayInputStream` body through stream caching and verifies the body is still readable after size computation. _Claude Code on behalf of Claus Ibsen_ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
