public interface RuntimeCamelCatalog extends StaticService, CamelContextAware
ComponentVerifierExtension.| Modifier and Type | Field and Description |
|---|---|
static String |
ENDPOINT_URI_ASSEMBLER_FACTORY
Factory key for
EndpointUriFactory |
static String |
FACTORY
Service factory key.
|
| Modifier and Type | Method and Description |
|---|---|
String |
asEndpointUri(String scheme,
Map<String,String> properties,
boolean encode)
Creates an endpoint uri in Java style from the information from the properties
This API is needed by
SendDynamicAware. |
String |
componentJSonSchema(String name)
Returns the component information as JSON format.
|
Map<String,String> |
endpointLenientProperties(String uri)
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.
|
Map<String,String> |
endpointProperties(String uri)
Parses the endpoint uri and constructs a key/value properties of each option.
|
EndpointValidationResult |
validateProperties(String scheme,
Map<String,String> properties)
Validates the properties for the given scheme against component and endpoint
This API is needed by
ComponentVerifierExtension. |
getCamelContext, setCamelContext, trySetCamelContextstatic final String FACTORY
static final String ENDPOINT_URI_ASSEMBLER_FACTORY
EndpointUriFactoryString componentJSonSchema(String name)
ComponentVerifierExtension.name - the component nameMap<String,String> endpointProperties(String uri) throws URISyntaxException
SendDynamicAware.uri - the endpoint uriURISyntaxExceptionMap<String,String> endpointLenientProperties(String uri) throws URISyntaxException
SendDynamicAware.uri - the endpoint uriURISyntaxExceptionEndpointValidationResult validateProperties(String scheme, Map<String,String> properties)
ComponentVerifierExtension.scheme - the endpoint schemeproperties - the endpoint propertiesString asEndpointUri(String scheme, Map<String,String> properties, boolean encode) throws URISyntaxException
SendDynamicAware.scheme - the endpoint schemaproperties - the properties as key value pairsencode - whether to URL encode the returned uri or notURISyntaxException - is thrown if there is encoding errorApache Camel