|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.camel.model.OptionalIdentifiedType<RoutesDefinition>
org.apache.camel.model.RoutesDefinition
public class RoutesDefinition
Represents a collection of routes
Field Summary |
---|
Fields inherited from class org.apache.camel.model.OptionalIdentifiedType |
---|
nodeCounters |
Constructor Summary | |
---|---|
RoutesDefinition()
|
Methods inherited from class org.apache.camel.model.OptionalIdentifiedType |
---|
createId, description, getDescription, getId, getNodeCounter, getShortName, idOrCreate, setDescription, setId |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RoutesDefinition()
Method Detail |
---|
public String toString()
toString
in class Object
public List<RouteDefinition> getRoutes()
RouteContainer
getRoutes
in interface RouteContainer
public void setRoutes(List<RouteDefinition> routes)
RouteContainer
setRoutes
in interface RouteContainer
routes
- the routespublic List<AbstractInterceptorDefinition> getInterceptors()
public void setInterceptors(List<AbstractInterceptorDefinition> interceptors)
public List<InterceptDefinition> getIntercepts()
public void setIntercepts(List<InterceptDefinition> intercepts)
public List<OnExceptionDefinition> getExceptions()
public void setExceptions(List<OnExceptionDefinition> exceptions)
public CamelContext getCamelContext()
public void setCamelContext(CamelContext camelContext)
public boolean isInheritErrorHandler()
public Boolean getInheritErrorHandlerFlag()
public void setInheritErrorHandlerFlag(Boolean inheritErrorHandlerFlag)
public ErrorHandlerBuilder getErrorHandlerBuilder()
public void setErrorHandlerBuilder(ErrorHandlerBuilder errorHandlerBuilder)
public RouteDefinition route()
public RouteDefinition from(String uri)
uri
- the from uri
public RouteDefinition from(Endpoint endpoint)
endpoint
- the from endpoint
public RouteDefinition from(String... uris)
uris
- the from uri
public RouteDefinition from(Endpoint... endpoints)
endpoints
- the from endpoints
public RouteDefinition route(RouteDefinition route)
route
- the route
public RoutesDefinition intercept(DelegateProcessor interceptor)
interceptor
- the interceptor
public InterceptDefinition intercept()
public ChoiceDefinition intercept(Predicate predicate)
predicate
- the predicate
public OnExceptionDefinition onException(Class exception)
exception
- the exception
protected RouteDefinition createRoute()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |