org.apache.camel
Interface Component

All Superinterfaces:
CamelContextAware
All Known Implementing Classes:
BeanComponent, BrowseComponent, ClassComponent, DataSetComponent, DefaultComponent, DirectComponent, FileComponent, GenericFileComponent, HeaderFilterStrategyComponent, LanguageComponent, LogComponent, MockComponent, PropertiesComponent, RefComponent, SedaComponent, TimerComponent, VmComponent

public interface Component
extends CamelContextAware

A component is a factory of Endpoint objects.

Version:

Method Summary
 Endpoint createEndpoint(String uri)
          Attempt to resolve an endpoint for the given URI if the component is capable of handling the URI
 
Methods inherited from interface org.apache.camel.CamelContextAware
getCamelContext, setCamelContext
 

Method Detail

createEndpoint

Endpoint createEndpoint(String uri)
                        throws Exception
Attempt to resolve an endpoint for the given URI if the component is capable of handling the URI

Parameters:
uri - the URI to create
Returns:
a newly created endpoint or null if this component cannot create instances of the given uri
Throws:
Exception - is thrown if error creating the endpoint


Apache CAMEL