You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ja...@apache.org on 2023/04/05 11:09:04 UTC
[camel-quarkus] branch main updated: Add missing @Component annotation to QuarkusVertxWebsocketComponent
This is an automated email from the ASF dual-hosted git repository.
jamesnetherton pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
The following commit(s) were added to refs/heads/main by this push:
new 136fd2375e Add missing @Component annotation to QuarkusVertxWebsocketComponent
136fd2375e is described below
commit 136fd2375e905413a5df7a9abf0f8d7f573fa449
Author: James Netherton <ja...@gmail.com>
AuthorDate: Wed Apr 5 09:00:04 2023 +0100
Add missing @Component annotation to QuarkusVertxWebsocketComponent
Fixes #4741
---
.../camel/quarkus/component/vertx/websocket/VertxWebsocketRecorder.java | 2 ++
1 file changed, 2 insertions(+)
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 0d35db7e53..061f41a3e6 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
@@ -27,6 +27,7 @@ import org.apache.camel.component.vertx.websocket.VertxWebsocketComponent;
import org.apache.camel.component.vertx.websocket.VertxWebsocketHost;
import org.apache.camel.component.vertx.websocket.VertxWebsocketHostConfiguration;
import org.apache.camel.component.vertx.websocket.VertxWebsocketHostKey;
+import org.apache.camel.spi.annotations.Component;
@Recorder
public class VertxWebsocketRecorder {
@@ -39,6 +40,7 @@ public class VertxWebsocketRecorder {
return new RuntimeValue<>(component);
}
+ @Component("vertx-websocket")
static final class QuarkusVertxWebsocketComponent extends VertxWebsocketComponent {
@Override
protected VertxWebsocketHost createVertxWebsocketHost(VertxWebsocketHostConfiguration hostConfiguration,