the right way :)

    @Override
    public void configure() throws Exception {
        from("file:data").to("file:data/output");
        getContext().addRoutes(fileRoute);//can be injected
    }



--
View this message in context: 
http://camel.465427.n5.nabble.com/re-use-route-definition-tp5743696p5743700.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to