Interface RoutesBuilder


  • public interface RoutesBuilder
    A routes builder is capable of building routes using the builder and model classes.

    Eventually the routes are added to a CamelContext where they run inside.

    • Method Detail

      • addRoutesToCamelContext

        void addRoutesToCamelContext​(CamelContext context)
                              throws Exception
        Adds the routes from this Route Builder to the CamelContext.
        Parameters:
        context - the Camel context
        Throws:
        Exception - is thrown if initialization of routes failed