Croway opened a new pull request, #25875: URL: https://github.com/apache/camel/pull/25875
_Prepared by Codex on behalf of @Croway._ ## Motivation This completes the Apache Tika 4.0.0 update attempted in #25628. Tika 4 removes `TikaConfig`, XML configuration, and the old parser/detector SPI signatures, so the dependency bump requires a component migration rather than only a version change. The removed Camel options are deprecated for the 4.22.x maintenance line in #25874. ## Changes - retain the Tika 4.0.0 dependency update from #25628 - replace `tikaConfig`/`tikaConfigUri` with `tikaLoader`/`tikaConfigFile` - use Tika 4 `TikaLoader`, JSON configuration, `TikaInputStream`, and `ParseContext` APIs - prefer Camel’s application class loader for Tika SPI discovery, with startup TCCL and component class-loader fallbacks - update encoding-detector tests, generated metadata, and the 4.22/4.23 upgrade guides ## Compatibility The option removal is intentional for the non-LTS Camel 4.23 release and is documented in the upgrade guide. Existing custom XML configurations must migrate to Tika 4 JSON configuration. ## Verification - `mvn test` in `components/camel-tika`: 7 tests passed - `mvn -Psourcecheck -DskipTests verify` in `components/camel-tika` - dependency tree checked for Tika 4.0.0 modules and managed Jackson versions - `git diff --check` -- 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]
