Federico Mariani created CAMEL-26109:
----------------------------------------
Summary: camel-vertx-websocket - fail to start when consumers on
the same host and port use different SSLContextParameters
Key: CAMEL-26109
URL: https://issues.apache.org/jira/browse/CAMEL-26109
Project: Camel
Issue Type: Improvement
Components: camel-vertx-websocket
Reporter: Federico Mariani
Assignee: Federico Mariani
Fix For: 4.24.0, 4.22.3, 4.18.6
All {{vertx-websocket}} consumers on the same host and port share one Vert.x
HTTP server, created from the {{sslContextParameters}} of the first consumer
that starts. A later consumer with different {{sslContextParameters}} starts
normally, but its own settings are silently ignored.
Since a port has a single TLS configuration, such a consumer should fail to
start with a clear error naming the host and port, as camel-netty-http already
does for consumers with a different bootstrap configuration on the same port.
Consumers that use the same {{SSLContextParameters}} instance keep sharing the
server.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)