Class EndpointKey

  • All Implemented Interfaces:
    org.apache.camel.spi.NormalizedEndpointUri

    public final class EndpointKey
    extends org.apache.camel.ValueHolder<String>
    implements org.apache.camel.spi.NormalizedEndpointUri
    Key used in DefaultEndpointRegistry in AbstractCamelContext, to ensure a consistent lookup.
    • Constructor Detail

      • EndpointKey

        public EndpointKey​(String uri)
      • EndpointKey

        public EndpointKey​(String uri,
                           boolean normalized)
        Optimized when the uri is already normalized.
    • Method Detail

      • getUri

        public String getUri()
        Specified by:
        getUri in interface org.apache.camel.spi.NormalizedEndpointUri