public interface RoutesBuilder
CamelContext
where they run inside.
This interface is not intended to be used by Camel end users. Instead, Camel users will use
org.apache.camel.builder.RouteBuilder to build routes in Java DSL.Modifier and Type | Method and Description |
---|---|
void |
addRoutesToCamelContext(CamelContext context)
Adds the routes from this Route Builder to the CamelContext.
|
Set<String> |
updateRoutesToCamelContext(CamelContext context)
Adds or updates the routes from this Route Builder to the CamelContext.
|
void addRoutesToCamelContext(CamelContext context) throws Exception
context
- the Camel contextException
- is thrown if initialization of routes failedSet<String> updateRoutesToCamelContext(CamelContext context) throws Exception
context
- the Camel contextException
- is thrown if initialization of routes failedApache Camel