to ask for file: support in this feature.
>
>
> -- 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
>
>
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
ml
>
>
> 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:
>
>
>
>
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
Hi wang,
Yes we can give file paths for picking up routes during startup too.
camel.springboot.xmlRoutes = on
camel.springboot.xmlRoutes = file://x/xxx/*.xml
I tested in my local and its working.
Regards,
Vineet
On 20/11/18, 3:24 PM, "Wang Yan" wrote:
using springdsl instead
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.xmlRo