Re: using springdsl instead of javadsl with file path
Yes we can give file paths for picking up routes during startup too.
camel.springboot.xmlRoutes = on
camel.springboot.xmlRoutes = file:/xxxx/xxxxx/xxxxxxx/*.xml
I tested in my local and its working.
On 20/11/18, 3:24 PM, "Wang Yan" <wyanbox@xxxxxxxxx> wrote:
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
This e-mail, including attachments, may include confidential and/or
proprietary information, and may be used only by the person or entity
to which it is addressed. If the reader of this e-mail is not the intended
recipient or his or her authorized agent, the reader is hereby notified
that any dissemination, distribution or copying of this e-mail is
prohibited. If you have received this e-mail in error, please notify the
sender by replying to this message and delete this e-mail immediately.