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

   https://issues.apache.org/jira/browse/CAMEL-25086
   
   Since 4.22.0 the starter injects `ServerProperties` and `WebMvcProperties`, 
which Spring Boot only registers in a servlet web application. A non-web 
context, such as `@SpringBootTest(webEnvironment = NONE)`, fails to start.
   
   Both are now injected as `ObjectProvider`. The engine port uses 
`ServerProperties` when present, otherwise `server.port`, otherwise 8080. A 
missing `WebMvcProperties` means no async request timeout was configured.
   
   `SpringBootPlatformHttpNonWebContextTest` starts a non-web context with a 
platform-http route and checks the route starts and the port resolution.
   


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