Re: re-use route definition

2013-11-22 Thread Olaf
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-

Re: re-use route definition

2013-11-22 Thread Olaf
ute = new ProcessedFileRoute(); route.configure(); } public class ProcessedFileRoute extends RouteBuilder { public void configure() throws Exception { from("file:data/output").to("file:data/processed"); } } -- View this message in context: http

Re: re-use route definition

2013-11-22 Thread Claus Ibsen
ameter in xml and import this part into > configure method of Route1,2 class. Are there any examples how to do it? > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/re-use-route-definition-tp5743696.html > Sent from the Camel - Users mai

re-use route definition

2013-11-22 Thread Olaf
ethod of Route1,2 class. Are there any examples how to do it? -- View this message in context: http://camel.465427.n5.nabble.com/re-use-route-definition-tp5743696.html Sent from the Camel - Users mailing list archive at Nabble.com.