|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.camel.component.direct.DirectComponent<E>
public class DirectComponent<E extends Exchange>
Represents the component that manages DirectEndpoint. It holds the
list of named direct endpoints.
| Constructor Summary | |
|---|---|
DirectComponent()
|
|
| Method Summary | |
|---|---|
Endpoint<E> |
createEndpoint(String uri)
Attempt to resolve an endpoint for the given URI if the component is capable of handling the URI |
CamelContext |
getCamelContext()
Returns the context |
ScheduledExecutorService |
getExecutorService()
|
void |
setCamelContext(CamelContext context)
The CamelContext is injected into the component when it is added to it |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DirectComponent()
| Method Detail |
|---|
public CamelContext getCamelContext()
Component
getCamelContext in interface Component<E extends Exchange>public ScheduledExecutorService getExecutorService()
public Endpoint<E> createEndpoint(String uri)
throws Exception
Component
createEndpoint in interface Component<E extends Exchange>uri - the URI to create
Exceptionpublic void setCamelContext(CamelContext context)
ComponentCamelContext is injected into the component when it is added to it
setCamelContext in interface Component<E extends Exchange>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||