Croway opened a new pull request, #2006:
URL: https://github.com/apache/camel-spring-boot/pull/2006

   ## Summary
   
   - Restore a Spring MVC timeout response for `platform-http` requests by 
throwing `AsyncRequestTimeoutException` from the `WebAsyncTask` timeout 
callback. This preserves the Spring Boot JSON error response introduced by 
CAMEL-24380.
   - Prevent the Camel worker from writing a response after timeout 
cancellation, including the interval before Spring invokes the timeout callback.
   - Update the cookie echo test to opt in to returning request headers, and 
make the timeout tests deterministic and cover both blocked and interrupted 
routes.
   
   ## CI failures
   
   The [4.18.x daily 
job](https://ci-builds.apache.org/job/Camel/job/Camel-Spring-Boot%20Daily/job/camel-spring-boot-4.18.x/)
 repeatedly reports failures in `SpringBootPlatformHttpRequestTimeoutTest` and 
`SpringBootPlatformHttpCookiesTest`. The original timeout callback had been 
removed in CAMEL-24380 to avoid a Whitelabel error page; this change keeps 
Spring MVC responsible for rendering the 503 response.
   
   ## Verification
   
   - `../../mvnw -q verify` in `components-starter/camel-platform-http-starter` 
with Java 17: 125 tests, 0 failures, 0 errors, 11 skipped.
   - The unmodified branch reproduced the two recurrent test failures locally.
   
   _AI-generated by Codex on behalf of Federico Mariani._
   


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