What is the best way to implement "RunLevel" equivalent functionality with camel.

2015-05-25 Thread Zoltan Farkas
I want to be able in implement similar functionality like unix run levels .. level 1 - start level 1 set of routes level 2 - run all from level 1 + level 2 specific routes. ... I want to be able to go from level 1 -> level 2 and vice versa. (starting/stopping the necessary routes..) What would

Re: What is the best way to implement "RunLevel" equivalent functionality with camel.

2015-05-26 Thread Zoltan Farkas
rt"); > > from("direct:startLevel2"). > to("direct:startLevel1"). > setBody().constant(Arrays.asList("route3", "route4")). > to("direct:splitAndStart"); > > Cheers! > > [1] http://camel.apache.org/controlbus.h

is there a way to change the default properties of a camel component?

2015-06-08 Thread Zoltan Farkas
For example I have the Cxf bean component: http://camel.apache.org/cxf-bean-component.html I want to be able to have bus=#myBus to all cxfBean endpoints in my app without the need to add ‘’?bus=#myBus” to each. let me know thank you —Z