public interface Component extends CamelContextAware
| Modifier and Type | Method and Description |
|---|---|
ComponentConfiguration |
createComponentConfiguration()
Creates a configuration helper object for a component that lets you configure the various
URI and parameter values; then create the full URI for it, create a new Endpoint from it
or configure an existing Endpoint from the values.
|
EndpointConfiguration |
createConfiguration(String uri)
Attempt to create a configuration object from the given uri
|
Endpoint |
createEndpoint(String uri)
Attempt to resolve an endpoint for the given URI if the component is
capable of handling the URI.
|
boolean |
useRawUri()
Whether to use raw or encoded uri, when creating endpoints.
|
getCamelContext, setCamelContextEndpoint createEndpoint(String uri) throws Exception
useRawUri() for controlling whether the passed in uri
should be as-is (raw), or encoded (default).uri - the URI to create; either raw or encoded (default)Endpoint or null if this component cannot create
Endpoint instances using the given uriException - is thrown if error creating the endpointuseRawUri()boolean useRawUri()
EndpointConfiguration createConfiguration(String uri) throws Exception
uri - the configuration URIEndpointConfigurationException - is thrown if the configuration URI is invalidComponentConfiguration createComponentConfiguration()
Apache Camel