This is an automated email from the ASF dual-hosted git repository. jamesnetherton pushed a commit to branch camel-main in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
commit b6d730b141b91b91812cf5bf847165cdd0a4f578 Author: James Netherton <jamesnether...@gmail.com> AuthorDate: Wed Jun 2 14:48:19 2021 +0100 Adapt to latest camel API changes --- .../quarkus/component/vertx/websocket/VertxWebsocketRecorder.java | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/extensions/vertx-websocket/runtime/src/main/java/org/apache/camel/quarkus/component/vertx/websocket/VertxWebsocketRecorder.java b/extensions/vertx-websocket/runtime/src/main/java/org/apache/camel/quarkus/component/vertx/websocket/VertxWebsocketRecorder.java index b93011b..3890062 100644 --- a/extensions/vertx-websocket/runtime/src/main/java/org/apache/camel/quarkus/component/vertx/websocket/VertxWebsocketRecorder.java +++ b/extensions/vertx-websocket/runtime/src/main/java/org/apache/camel/quarkus/component/vertx/websocket/VertxWebsocketRecorder.java @@ -22,6 +22,8 @@ import io.quarkus.runtime.RuntimeValue; import io.quarkus.runtime.annotations.Recorder; import io.vertx.core.Vertx; import io.vertx.ext.web.Router; + +import org.apache.camel.CamelContext; import org.apache.camel.component.vertx.websocket.VertxWebsocketComponent; import org.apache.camel.component.vertx.websocket.VertxWebsocketHost; import org.apache.camel.component.vertx.websocket.VertxWebsocketHostConfiguration; @@ -42,14 +44,14 @@ public class VertxWebsocketRecorder { @Override protected VertxWebsocketHost createVertxWebsocketHost(VertxWebsocketHostConfiguration hostConfiguration, VertxWebsocketHostKey hostKey) { - return new QuarkusVertxWebsocketHost(hostConfiguration, hostKey); + return new QuarkusVertxWebsocketHost(getCamelContext(), hostConfiguration, hostKey); } } static final class QuarkusVertxWebsocketHost extends VertxWebsocketHost { - public QuarkusVertxWebsocketHost(VertxWebsocketHostConfiguration websocketHostConfiguration, + public QuarkusVertxWebsocketHost(CamelContext camelContext, VertxWebsocketHostConfiguration websocketHostConfiguration, VertxWebsocketHostKey key) { - super(websocketHostConfiguration, key); + super(camelContext, websocketHostConfiguration, key); } @Override