I want to build a camel route programmatically...

2012-09-14 Thread e0richt
Hi I am newbie with Camel and it seems to be very powerful framework. One thing that I haven't found out yet is that how can you create routes programmatically? I want to do something like this: camel = new DefaultCamelContext(); camel.addRoutes(new RouteBuilder() { @Override

Re: I want to build a camel route programmatically...

2012-09-14 Thread e0richt
ok, but I want to use the whole gamut of what is possible in camel during runtime. I have tried using the intermediate object shown by Eclipse but that definately did not work... given this: from(") .to("..) .filter("") .choice("); there must be a w