only properties files is supported when not using SB or Quarkus

man. 8. feb. 2021 kl. 20.19 skrev archana 0623 <archanaa.0...@gmail.com>:

> I have a camel Spring application, not Spring boot app, I am use camel-main
> and I wanted to specify some properties related to that
>
> *camel.main.durationMaxIdleSeconds *
> By default the classpath:application.properties file is picked but I want
> to specify somename.yml file I tried using PropertyComponent on
> Routecontext and directly tried using
> *setDefaultPropertyPlaceholderLocation* but did not work.
>
> The above works for classpath:path/somename.properties but not for
> classpath:path/somename.yml can you please guide me on this.
>
> Thanks!
>
-- 
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2

Reply via email to