Interface EndpointUriFactory
- All Superinterfaces:
CamelContextAware, HasCamelContext
-
Method Summary
Modifier and TypeMethodDescriptiondefault StringAssembles an endpoint uri for the given component name with the given parameters.Assembles an endpoint uri for the given component name with the given parameters.Returns the names of the endpoint identity properties.booleanChecks whether this factory supports the given component namebooleanWhether the endpoint is lenient or not.Returns the prefixes (option name = prefix) of the multi-valued properties this endpoint supports.Returns all the names this endpoint supports.Returns the names of the secret properties this endpoint supports.Methods inherited from interface CamelContextAware
setCamelContextMethods inherited from interface HasCamelContext
getCamelContext
-
Method Details
-
isEnabled
Checks whether this factory supports the given component name -
buildUri
Assembles an endpoint uri for the given component name with the given parameters.- Parameters:
scheme- the component nameproperties- endpoint options- Returns:
- the constructed endpoint uri
- Throws:
URISyntaxException
-
buildUri
String buildUri(String scheme, Map<String, Object> properties, boolean encode) throws URISyntaxExceptionAssembles an endpoint uri for the given component name with the given parameters.- Parameters:
scheme- the component nameproperties- endpoint optionsencode- whether to URL encode the returned uri or not- Returns:
- the constructed endpoint uri
- Throws:
URISyntaxException
-
propertyNames
-
secretPropertyNames
-
endpointIdentityPropertyNames
Returns the names of the endpoint identity properties.Endpoint identity properties are query parameters that form part of the endpoint's destination identity (e.g., bucket name, database name, topic). Most components encode the destination in the URI context path, but some use query parameters instead. This metadata allows tooling to include these parameters when building canonical URIs for endpoint matching.
- Since:
- 4.21
-
multiValuePrefixes
-
isLenientProperties
boolean isLenientProperties()Whether the endpoint is lenient or not.- See Also:
-