Interface RuntimeCamelCatalog

    • Method Detail

      • componentJSonSchema

        String componentJSonSchema​(String name)
        Returns the component information as JSON format.

        This API is needed by ComponentVerifierExtension.

        Parameters:
        name - the component name
        Returns:
        component details in JSon
      • endpointLenientProperties

        Map<String,​String> endpointLenientProperties​(String uri)
                                                    throws URISyntaxException
        Parses the endpoint uri and constructs a key/value properties of only the lenient properties (eg custom options)

        For example using the HTTP components to provide query parameters in the endpoint uri.

        This API is needed by SendDynamicAware.

        Parameters:
        uri - the endpoint uri
        Returns:
        properties as key value pairs of each lenient properties
        Throws:
        URISyntaxException
      • asEndpointUri

        String asEndpointUri​(String scheme,
                             Map<String,​String> properties,
                             boolean encode)
                      throws URISyntaxException
        Creates an endpoint uri in Java style from the information from the properties

        This API is needed by SendDynamicAware.

        Parameters:
        scheme - the endpoint schema
        properties - the properties as key value pairs
        encode - whether to URL encode the returned uri or not
        Returns:
        the constructed endpoint uri
        Throws:
        URISyntaxException - is thrown if there is encoding error