org.apache.camel
Interface Component

All Superinterfaces:
CamelContextAware
All Known Implementing Classes:
AhcComponent, AMQPComponent, ApnsComponent, AtomComponent, BeanComponent, BeanValidatorComponent, BrowseComponent, CacheComponent, ClassComponent, CometdComponent, CxfBeanComponent, CxfComponent, CxfRsComponent, DataSetComponent, DefaultComponent, DigitalSignatureComponent, DirectComponent, DnsComponent, EjbComponent, EventAdminComponent, EventComponent, ExecComponent, FeedComponent, FileComponent, FlatpackComponent, FreemarkerComponent, FtpComponent, FtpsComponent, GAuthComponent, GenericFileComponent, GHttpComponent, GLoginComponent, GMailComponent, GTaskComponent, HazelcastComponent, HdfsComponent, HeaderFilterStrategyComponent, HttpComponent, HttpComponent, IBatisComponent, IrcComponent, JavaSpaceComponent, JcrComponent, JdbcComponent, JettyHttpComponent, JingComponent, JmsComponent, JMXComponent, JpaComponent, Jt400Component, KestrelComponent, LanguageComponent, LdapComponent, LocalContextComponent, LogComponent, LuceneComponent, MailComponent, MinaComponent, MockComponent, MsvComponent, MyBatisComponent, NagiosComponent, NettyComponent, PaxLoggingComponent, PrinterComponent, PropertiesComponent, QualifiedContextComponent, QuartzComponent, QuickfixjComponent, RefComponent, RelaxNGCompactSyntaxComponent, RemoteFileComponent, ResourceBasedComponent, RestletComponent, RmiComponent, RouteboxComponent, RssComponent, S3Component, SedaComponent, ServletComponent, SftpComponent, SipComponent, SmppComponent, SnmpComponent, SnsComponent, SpringIntegrationComponent, SpringWebserviceComponent, SqlComponent, SqsComponent, StreamComponent, StringTemplateComponent, TestComponent, TimerComponent, ValidatorComponent, VelocityComponent, VmComponent, XmppComponent, XQueryComponent, XsltComponent

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