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 2025/10/21 10:45:36 UTC
(camel) branch main updated: camel-vertx-websocket: Add the raw parameterized template path to dev console output
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.git
The following commit(s) were added to refs/heads/main by this push:
new 70bff7b79cd2 camel-vertx-websocket: Add the raw parameterized template path to dev console output
70bff7b79cd2 is described below
commit 70bff7b79cd2593f6d36b0bcbcf559f93ab85ae6
Author: James Netherton <ja...@gmail.com>
AuthorDate: Tue Oct 21 10:58:13 2025 +0100
camel-vertx-websocket: Add the raw parameterized template path to dev console output
---
.../camel/component/vertx/websocket/VertxWebsocketDevConsole.java | 2 ++
1 file changed, 2 insertions(+)
diff --git a/components/camel-vertx/camel-vertx-websocket/src/main/java/org/apache/camel/component/vertx/websocket/VertxWebsocketDevConsole.java b/components/camel-vertx/camel-vertx-websocket/src/main/java/org/apache/camel/component/vertx/websocket/VertxWebsocketDevConsole.java
index 67667c8639ea..79b4804fbfa9 100644
--- a/components/camel-vertx/camel-vertx-websocket/src/main/java/org/apache/camel/component/vertx/websocket/VertxWebsocketDevConsole.java
+++ b/components/camel-vertx/camel-vertx-websocket/src/main/java/org/apache/camel/component/vertx/websocket/VertxWebsocketDevConsole.java
@@ -59,6 +59,7 @@ public class VertxWebsocketDevConsole extends AbstractDevConsole {
for (VertxWebsocketPeer peer : connectedPeers) {
sb.append(String.format("\n ID: %s", peer.getConnectionKey()));
sb.append(String.format("\n Path: %s", peer.getPath()));
+ sb.append(String.format("\n Raw Path: %s", peer.getRawPath()));
ServerWebSocket webSocket = peer.getWebSocket();
SocketAddress socketAddress = webSocket.localAddress();
@@ -99,6 +100,7 @@ public class VertxWebsocketDevConsole extends AbstractDevConsole {
JsonObject peerJson = new JsonObject();
peerJson.put("id", peer.getConnectionKey());
peerJson.put("path", peer.getPath());
+ peerJson.put("rawPath", peer.getRawPath());
ServerWebSocket webSocket = peer.getWebSocket();
SocketAddress socketAddress = webSocket.localAddress();