|
||||||||||
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(CamelContext camelContext)
Only used for lazy construction from inside ExpressionType |
|
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<? extends Exchange> |
getEndpoint()
|
|
FromType |
getFrom()
|
|
RouteType |
getRoute()
|
|
void |
intercept(Interceptor interceptor)
|
|
|
lookup(String name,
Class<T> type)
lookup an object by name and type |
|
Endpoint<? extends Exchange> |
resolveEndpoint(String uri)
|
|
Endpoint<? extends Exchange> |
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)
public RouteContext(CamelContext camelContext)
Method Detail |
---|
public Endpoint<? extends Exchange> getEndpoint()
public FromType getFrom()
public RouteType getRoute()
public CamelContext getCamelContext()
public Processor createProcessor(ProcessorType node) throws Exception
Exception
public Endpoint<? extends Exchange> resolveEndpoint(String uri)
public Endpoint<? extends Exchange> 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 |