Re: Properties component use system variables in locations failed

2020-02-14 Thread Claus Ibsen
Hi This above is Spring itself that setup this bean, its not something Camel can do about. So that ${ } is resolved by Spring and somehow it uses the value from the properties file and not the VM option. Not sure how you bootstrap Spring and Camel but its more of a Spring issue than C

Properties component use system variables in locations failed

2020-02-14 Thread Mi Jane 米静
Dear community, I’m trying to use system variables in Properties Component locations and it doesn’t work. Here is some details: 1. Spring beans: classpath:**/application.properties classpath:**/application-${spring.profiles.active}