Croway opened a new pull request, #30200:
URL: https://github.com/apache/camel/pull/30200

   # Description
   
   Migrate `camel-undertow` to `io.undertow.ee:undertow-servlet:2.0.3.Final`, 
which implements Jakarta Servlet 6.1. Applications combining Camel Undertow 
with an Undertow EE-based servlet container can otherwise pull in both the old 
and new servlet artifacts: Maven treats their different group IDs as separate 
dependencies even though their Java packages overlap.
   
   Undertow EE 2.0.3.Final declares Undertow core 2.4.4.Final, matching Camel 
main's existing core version. Align the servlet test dependencies in 
`camel-servlet`, `camel-oauth`, and `camel-cxf-spring-soap`, and replace the 
parent property `undertow-servlet-version` with `undertow-ee-version`.
   
   Add a regression test that runs an asynchronous Servlet 6.1 deployment 
alongside a Camel Undertow consumer, exercising Servlet 6.1 character-encoding 
and ByteBuffer output APIs. Document the artifact and property changes in the 
4.24 upgrade guide.
   
   This revisits the migration from #21580, reverted in 
5893417f084462ee0cadf3e71a75a8b9b1ac111d while Undertow EE had no Final 
release. Final releases are now available.
   
   Validation on Java 25:
   
   - Built the four affected modules and their prerequisites from current 
source: 108-module reactor succeeded.
   - Full `camel-undertow` suite: 294 tests, no failures, 1 existing skip.
   - Full `camel-servlet` suite: 133 tests, no failures, 2 existing skips.
   - Focused OAuth servlet tests: 9 tests passed; CXF Undertow test: 1 test 
passed.
   - Dependency trees and test runtime classpaths select Undertow EE 
2.0.3.Final, core 2.4.4.Final, and Servlet API 6.1.0, without the old servlet 
artifact.
   - `mvn formatter:format impsort:sort` and `git diff --check` passed.
   
   # Target
   
   - [x] Targets `main` for Camel 4.24.0.
   
   # Tracking
   
   - [x] https://issues.apache.org/jira/browse/CAMEL-27030
   
   # Apache Camel coding standards and style
   
   - [x] Commit references the Jira issue and describes the migration.
   - [x] Built the affected modules and prerequisites, regenerated files, and 
ran formatting checks.
   
   # AI-assisted contributions
   
   - [x] This PR includes AI-assisted code and documentation prepared by Codex 
on behalf of Federico Mariani (@Croway).
   


-- 
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]

Reply via email to