[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

using springdsl instead of javadsl with file path

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

   <routes xmlns="";>
        <route id="test">
            <from uri="timer://trigger"/>
            <to uri="log:out"/>