|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.camel.impl.RouteContext
public class RouteContext
The context used to activate new routing rules
| Constructor Summary | |
|---|---|
RouteContext(RouteType route,
FromType from,
Collection<Route> routes)
|
|
| Method Summary | ||
|---|---|---|
void |
addEventDrivenProcessor(Processor processor)
|
|
void |
commit()
Lets complete the route creation, creating a single event driven route for the current from endpoint with any processors required |
|
Processor |
createProceedProcessor()
|
|
Processor |
createProcessor(ProcessorType node)
|
|
CamelContext |
getCamelContext()
|
|
Endpoint |
getEndpoint()
|
|
FromType |
getFrom()
|
|
RouteType |
getRoute()
|
|
void |
intercept(Interceptor interceptor)
|
|
|
lookup(String name,
Class<T> type)
lookup an object by name and type |
|
Endpoint |
resolveEndpoint(String uri)
|
|
Endpoint |
resolveEndpoint(String uri,
String ref)
Resolves an endpoint from either a URI or a named reference |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RouteContext(RouteType route,
FromType from,
Collection<Route> routes)
| Method Detail |
|---|
public Endpoint getEndpoint()
public FromType getFrom()
public RouteType getRoute()
public CamelContext getCamelContext()
public Processor createProcessor(ProcessorType node)
throws Exception
Exceptionpublic Endpoint resolveEndpoint(String uri)
public Endpoint resolveEndpoint(String uri,
String ref)
public <T> T lookup(String name,
Class<T> type)
public void commit()
public void addEventDrivenProcessor(Processor processor)
public void intercept(Interceptor interceptor)
public Processor createProceedProcessor()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||