davsclaus opened a new pull request, #30171: URL: https://github.com/apache/camel/pull/30171
_Claude Code on behalf of Claus Ibsen (davsclaus)_ ## Backport of #29855 Cherry-pick of #29855 onto `camel-4.18.x`. **Original PR:** #29855 - CAMEL-26928: camel-file - the consumer's move, preMove and moveFailed honour jailStartingDirectory for symbolic links **Original author:** @davsclaus **Target branch:** `camel-4.18.x` **JIRA:** https://issues.apache.org/jira/browse/CAMEL-26928 (fix version 4.18.6) ### Straight or adapted Straight cherry-pick (`git cherry-pick -x` of the squash-merge commit a91ba7e7c5c6). The code, the tests and `file-component.adoc` are byte-identical to #29855. Only the files that do not belong on this branch were left out: - The upgrade-guide changes (`camel-4x-upgrade-guide-4_18.adoc`, `_4_22.adoc`, `_4_24.adoc`). The upgrade guides for every version live on `main`, and #29855 already added the 4.18.6 and 4.22.3 notes there. - The catalog copy `catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/file-component.adoc`. It does not exist on `camel-4.18.x` (the catalog's doc copies were removed by CAMEL-16881), and the build does not generate it here. - `GenericFileHelperTest`: a context-only conflict, because `main` has two stream encoding tests above the new tests that this branch does not have. Only the two new tests were added, the same lines as in #29855. ### Verification - `components/camel-file`: `mvn formatter:format impsort:sort install` made no changes; `mvn verify` passed. - Full reactor build `mvn -Dquickly install`: passed, and no generated files changed. - `core/camel-core`: the file component tests (`org.apache.camel.component.file.**`) passed, including the new `FileConsumerMoveJailStartingDirectorySymlinkTest` and `FileProducerJailStartingDirectorySymlinkMoveTest`. 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- 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]
