Class FromDefinition

    • Constructor Detail

      • FromDefinition

        public FromDefinition()
      • FromDefinition

        public FromDefinition​(String uri)
      • FromDefinition

        public FromDefinition​(org.apache.camel.Endpoint endpoint)
    • Method Detail

      • getShortName

        public String getShortName()
        Specified by:
        getShortName in interface org.apache.camel.NamedNode
      • getLabel

        public String getLabel()
        Specified by:
        getLabel in interface org.apache.camel.NamedNode
      • getUri

        public String getUri()
      • setUri

        public void setUri​(String uri)
        Sets the URI of the endpoint to use
        Parameters:
        uri - the endpoint URI to use
      • getEndpoint

        public org.apache.camel.Endpoint getEndpoint()
        Gets tne endpoint if an Endpoint instance was set.

        This implementation may return null which means you need to use getEndpointUri() to get information about the endpoint.

        Returns:
        the endpoint instance, or null
      • setEndpoint

        public void setEndpoint​(org.apache.camel.Endpoint endpoint)
      • setEndpointConsumerBuilder

        public void setEndpointConsumerBuilder​(EndpointConsumerBuilder endpointConsumerBuilder)
      • clear

        protected void clear()