Hi Yeah you need the Main class from camel-spring which can load XML files.
On Tue, Aug 21, 2018 at 9:59 AM, Eugene Prokopiev <e...@itx.ru> wrote: > Hi, > > Is it possible to run simple route with XML DSL and without any > bootstrap code, e.g. using existing org.apache.camel.main.Main or so? > I tried to learn code of Main.java but I see only -r option to load > routes from compiled classes, not from files with XML DSL or so. Maybe > direct using XML DSL without any bootstrap code possible in another > way which I can't find? > > -- > WBR, > Eugene Prokopiev -- Claus Ibsen ----------------- http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2