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

   [CAMEL-27238](https://issues.apache.org/jira/browse/CAMEL-27238)
   
   The shared HTTP server of camel-netty-http is deprecated, and will be 
removed in a future release.
   - **Why:** it was added for OSGi/Karaf, so that several applications 
(bundles) in one JVM could use the same port. Camel Main, Spring Boot and 
Quarkus applications run one application per JVM.
   - **What to use instead:** a netty-http consumer per port, where several 
routes can use the same port, or the platform-http component.
   
   ## What changed
   - **The option:** `@Deprecated` on the `nettySharedHttpServer` endpoint 
option, with a deprecation note. The catalog and the endpoint DSL show it as 
deprecated.
   - **The classes:** `@Deprecated` on `NettySharedHttpServer`, 
`DefaultNettySharedHttpServer`, `NettySharedHttpServerBootstrapConfiguration` 
and `HttpServerSharedInitializerFactory`, and on the 
`HttpServerBootstrapFactory` constructor that only the shared server uses.
   - **Docs:** a short section on the shared server in the netty-http docs, 
with a deprecation warning and the alternatives.
   - **Upgrade guide:** a 4.24 entry, "camel-netty-http - the shared HTTP 
server is deprecated".
   
   No behaviour change. The camel-netty-http unit tests pass (383), including 
`NettySharedHttpServerTest` and `NettyHttpOAuthProfileTest`.
   
   _Claude Code on behalf of Claus Ibsen_
   
   🤖 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