Hi Its using Spring's org.springframework.core.io.support.ResourcePatternResolver#getResources
Which dont support multiple folders. I have logged a ticket so we can split the input on comma and then load I logged a ticket https://issues.apache.org/jira/browse/CAMEL-13019 On Thu, Dec 20, 2018 at 10:42 AM Andrea Cosentino <ancosen1...@yahoo.com.invalid> wrote: > > If someone have time to work that it will be picked up. > > -- > Andrea Cosentino > ---------------------------------- > Apache Camel PMC Chair > Apache Karaf Committer > Apache Servicemix PMC Member > Email: ancosen1...@yahoo.com > Twitter: @oscerd2 > Github: oscerd > > > > > > > On Thursday, December 20, 2018, 10:37:30 AM GMT+1, Wang Yan > <wyan...@gmail.com> wrote: > > > > > > load multiple route xml files - ASF JIRA > > When I use SpringDSL , i want to load two route files > > For Example route1.xml and route2.xml > > If I put two files in same directory like below , it is working > > camel.springboot.xmlRoutes: file :directory/*.xml > > > > If I put two files into different directories , it does not work > > camel.springboot.xmlRoutes: file:directory1/route1.xml , > directory2/route2.xml > > Could you please implement this feature? > > Thanks > > > I create it as a feature request > > https://issues.apache.org/jira/projects/CAMEL/issues/CAMEL-13015?filter=allopenissues -- Claus Ibsen ----------------- http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2