You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2023/05/18 12:18:26 UTC
[camel] branch main updated: CAMEL-19370: camel-jbang get endpoint should show unmasked uri
This is an automated email from the ASF dual-hosted git repository.
davsclaus 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 12967e88f69 CAMEL-19370: camel-jbang get endpoint should show unmasked uri
12967e88f69 is described below
commit 12967e88f69cfd6b277d0a89eb2c6ddddb13780a
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Thu May 18 14:17:53 2023 +0200
CAMEL-19370: camel-jbang get endpoint should show unmasked uri
---
.../src/main/java/org/apache/camel/impl/console/EndpointDevConsole.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/core/camel-console/src/main/java/org/apache/camel/impl/console/EndpointDevConsole.java b/core/camel-console/src/main/java/org/apache/camel/impl/console/EndpointDevConsole.java
index 939db2414fa..13caa235924 100644
--- a/core/camel-console/src/main/java/org/apache/camel/impl/console/EndpointDevConsole.java
+++ b/core/camel-console/src/main/java/org/apache/camel/impl/console/EndpointDevConsole.java
@@ -88,7 +88,7 @@ public class EndpointDevConsole extends AbstractDevConsole {
Collection<Endpoint> col = reg.getReadOnlyValues();
for (Endpoint e : col) {
JsonObject jo = new JsonObject();
- jo.put("uri", e.toString());
+ jo.put("uri", e.getEndpointUri());
var stat = findStats(stats, e.getEndpointUri());
if (stat.isPresent()) {
var st = stat.get();