3 Replies Latest reply on Nov 25, 2010 5:35 AM by davsclaus

    Camel route as a template for other routes

    sujoebose

      Is it possible to create a camel route as a template and instantiate it for many other routes using the same template but substituting the actual URIs using configurable parameters?

       

      For example, with a simple route pattern such as from(source).to(destination),

      instead of creating a new OSGI bundle (for Fuse ServiceMix 4.x) for every new route to be added or even updating an existing with a new route within the CamelContext, is there a way to define the above template once and reuse that bundle to instantiate several routes with just the source and destination being changed for each route?