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:39 UTC
[camel] branch camel-3.x 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 camel-3.x
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/camel-3.x by this push:
new 1d566dda321 CAMEL-19370: camel-jbang get endpoint should show unmasked uri
1d566dda321 is described below
commit 1d566dda3218554b6a21c2317fd296215e253a89
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 8ae6c4fa311..7ce9ae5f664 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
@@ -89,7 +89,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();