Re: using springdsl instead of javadsl with file path

2018-12-06 Thread Claus Ibsen
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 > >

Fwd: using springdsl instead of javadsl with file path

2018-12-05 Thread Wang Yan
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

Re: using springdsl instead of javadsl with file path

2018-12-05 Thread Claus Ibsen
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: > > > >

Fwd: using springdsl instead of javadsl with file path

2018-12-05 Thread Wang Yan
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

Re: using springdsl instead of javadsl with file path

2018-11-20 Thread Gandhi, Vineet
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 with file path

2018-11-20 Thread Wang Yan
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