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

   ## Backport of #23913
   
   Cherry-pick of #23913 onto `camel-4.14.x`.
   
   **Original PR:** #23913 — CAMEL-23651: camel-netty-http and camel-undertow - 
align muteException default with the other HTTP components
   **Original author:** @oscerd
   **Target branch:** `camel-4.14.x`
   **JIRA:** [CAMEL-23651](https://issues.apache.org/jira/browse/CAMEL-23651) 
(fixVersions 4.14.8 / 4.18.3 / 4.21.0)
   
   ### What
   
   Flips the `muteException` consumer default from `false` to `true` in 
`camel-netty-http` and `camel-undertow`, aligning them with `camel-http` / 
`camel-jetty` / `camel-servlet` / `camel-platform-http`. A consumer-side 
processing failure now returns an empty response body instead of the exception 
stack trace as `text/plain`.
   
   Includes the undertow Rest DSL binding fix (`RestUndertowHttpBinding` now 
receives the endpoint's `muteException` value instead of a hard-coded `false`), 
the three new default-behaviour tests, the three tests updated to opt out with 
`muteException=false`, and regenerated metadata.
   
   ### Cherry-pick notes
   
   - The upgrade-guide entry landed on `main` in 
`camel-4x-upgrade-guide-4_21.adoc` (absent on this branch); the equivalent note 
was added under **Upgrading from 4.14.7 to 4.14.8** in 
`camel-4x-upgrade-guide-4_14.adoc` instead. The canonical 4_18/4_21 entries 
already exist on `main`.
   - `NettyHttpMuteExceptionByDefaultTest` was adjusted to extend 
`BaseNettyTest` (the 4.14.x base test class name) instead of 
`BaseNettyTestSupport` (renamed on later branches). No other API differences.
   
   ### Validation
   
   Full reactor build (`mvn clean install -DskipTests`) on `camel-4.14.x` + 
this change: **BUILD SUCCESS**, no regen drift.
   
   ---
   _Claude Code on behalf of Andrea Cosentino_
   
   🤖 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]

Reply via email to