Class NoSuchEndpointException

All Implemented Interfaces:
Serializable

public class NoSuchEndpointException extends RuntimeCamelException
Thrown when a routing processor (such as a recipient list or dynamic router) cannot resolve a URI to a known Endpoint, typically because the required Camel component is missing from the classpath.

Contrast with ResolveEndpointFailedException, which is thrown when the component is present but the URI is malformed or configuration fails.

See Also:
  • Constructor Details

    • NoSuchEndpointException

      public NoSuchEndpointException(String uri)
      Parameters:
      uri - the endpoint URI that could not be found
    • NoSuchEndpointException

      public NoSuchEndpointException(String uri, String resolveMethod)
      Parameters:
      uri - the endpoint URI that could not be found
      resolveMethod - a resolution instruction appended after "please" in the error message
  • Method Details

    • getUri

      public String getUri()