Hi, For beans you can place your beans in a separate spring xml in src/main/resources and import it in your FatJarRouter using the @Import(..) annotation.
@SpringBootApplication @ImportResource( "beans.xml" ) public class MyFatJarRouter extends FatJarRouter { ... // Pontus On Sat, 4 Jun 2016 at 00:03 J- <jmand...@hotmail.com> wrote: > Hi, > > When using camel with spring-boot with xml config, can you only use > <route> and <rest> xml components? > > Is it possible to do other configuration in xml when using spring-boot? > For example <restConfiguration> or <bean> inside the xml? > > I know this has been asked before a long time ago, but now that it's a few > years later, is there any preference/benefits of using xml over java. > > Our lead wants us to switch back to using xml instead of java, and so far > the xml is far more difficult to write. > > Thanks, > > -J >