|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Component
A component is
a factory of Endpoint objects.
| Method Summary | |
|---|---|
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. |
| Methods inherited from interface org.apache.camel.CamelContextAware |
|---|
getCamelContext, setCamelContext |
| Method Detail |
|---|
Endpoint 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 uri
Exception - is thrown if error creating the endpointuseRawUri()boolean useRawUri()
EndpointConfiguration createConfiguration(String uri)
throws Exception
uri - the configuration URI
EndpointConfiguration
Exception - is thrown if the configuration URI is invalidComponentConfiguration createComponentConfiguration()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||