davsclaus commented on code in PR #10889: URL: https://github.com/apache/camel/pull/10889#discussion_r1277882105
########## core/camel-core-model/src/main/java/org/apache/camel/model/SendDefinition.java: ########## @@ -106,7 +109,18 @@ public String getPattern() { @Override public String getLabel() { - String uri = getEndpointUri(); + if (endpointUriToString == null) { + String value = null; + try { + value = getEndpointUri(); + } catch (RuntimeException e) { + // ignore any exception and use null for building the string value Review Comment: See DefaultEndpoint I think it is -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org