it seems only support keyword classpath but not file
camel.springboot.xmlRoutes: classpath:camel/*.xml
-- Forwarded message -
From: Wang Yan
Date: Wed, Dec 5, 2018 at 11:11 AM
Subject: Fwd: using springdsl instead of javadsl with file path
To:
it does not work got exception as below
#camel xmlroute scan
camel.springboot.xmlRoutes: on
camel.springboot.xmlRoutes: file:camel/*.xml
Caused by: java.lang.IllegalStateException: duplicate key:
camel.springboot.xmlRoutes
-- Forwarded message -
From: Wang Yan
Date: Tue, Nov 20, 2018 at 10:28 AM
Subject: using springdsl instead of javadsl with file path
To:
using springdsl instead of javadsl, below is the example from camel website,
is it possible to use file instead of classpath for configuration? for example
camel.springboot.xmlRoutes = file:/com/foo/routes/*.xml
any suggestions and hints are more than welcome!
// turn off
camel.springboot.xmlRoutes = false
// scan in the com/foo/routes classpath
camel.springboot.xmlRoutes = classpath:com/foo/routes/*.xml
The XML files should be Camel XML routes (not CamelContext) such as
http://camel.apache.org/schema/spring;>
ref:myBean