Package org.apache.camel.spi
Interface EndpointUriFactory
- All Superinterfaces:
CamelContextAware
,HasCamelContext
-
Method Summary
Modifier and TypeMethodDescriptiondefault String
Assembles 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.boolean
Checks whether this factory supports the given component nameboolean
Whether the endpoint is lenient or not.Returns the prefixes 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 org.apache.camel.CamelContextAware
setCamelContext
Methods inherited from interface org.apache.camel.spi.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
Returns all the names this endpoint supports. -
secretPropertyNames
Returns the names of the secret properties this endpoint supports. -
multiValuePrefixes
Returns the prefixes of the multi-valued properties this endpoint supports. -
isLenientProperties
boolean isLenientProperties()Whether the endpoint is lenient or not.- See Also:
-