Skip to content

CAMEL-24392: Fix BacklogTracerRouteAdvice draining WrappedFile streambody (backport 4.18.x) - #25505

Open
davsclaus wants to merge 1 commit into
camel-4.18.xfrom
backport/CAMEL-24392-4.18.x
Open

CAMEL-24392: Fix BacklogTracerRouteAdvice draining WrappedFile streambody (backport 4.18.x)#25505
davsclaus wants to merge 1 commit into
camel-4.18.xfrom
backport/CAMEL-24392-4.18.x

Conversation

@davsclaus

Copy link
Copy Markdown
Contributor

Summary

Backport of #25492 to camel-4.18.x.

  • Cache the stream in BacklogTracerRouteAdvice.before() when stream caching is enabled, so the body is converted to a re-readable StreamCache before the tracer reads it
  • Prevents SFTP streamDownload bodies from being drained by the backlog tracer

Cherry-picked cleanly from main (947aa5f).

Claude Code on behalf of davsclaus

🤖 Generated with Claude Code

…body

CAMEL-24392: Fix BacklogTracerRouteAdvice draining WrappedFile stream body

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Claus Ibsen <claus.ibsen@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants