You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Freeman Yue Fang (Jira)" <ji...@apache.org> on 2024/11/29 16:10:00 UTC

[jira] [Created] (CAMEL-21493) camel-ref: should use CamelContext.hasEndpoint but not CamelContext.getEndpoint to check existence of an endpoint

Freeman Yue Fang created CAMEL-21493:
----------------------------------------

             Summary: camel-ref: should use CamelContext.hasEndpoint but not CamelContext.getEndpoint to check existence of an endpoint
                 Key: CAMEL-21493
                 URL: https://issues.apache.org/jira/browse/CAMEL-21493
             Project: Camel
          Issue Type: Bug
            Reporter: Freeman Yue Fang


Because CamelContext.getEndpoint(String uri) now will throw NoSuchEndpointException but not null, while CamelContext.hasEndpoint(String uri) is more proper here



--
This message was sent by Atlassian Jira
(v8.20.10#820010)