[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

@PropertyInject vs @Value in camel-spring-boot

Hi there,

I'm using camel-spring-boot

I add

hello = world in my

I notice if I use

private String hello

I get

 Property with key not found in properties from text

but if I use


it works.

this surprise me, since I was under the impression that per doc, camel uses
spring to resolve all the properties if you use camel-spring-boot. but yet
somehow spring can find the value from, but camel
can not?

am I missing something?

Omnem crede diem tibi diluxisse supremum.

( ! ) Warning: include(msgfooter.php): failed to open stream: No such file or directory in /var/www/git/apache-camel-users/msg03154.html on line 100
Call Stack
10.0007363064{main}( ).../msg03154.html:0

( ! ) Warning: include(): Failed opening 'msgfooter.php' for inclusion (include_path='.:/var/www/git') in /var/www/git/apache-camel-users/msg03154.html on line 100
Call Stack
10.0007363064{main}( ).../msg03154.html:0