Hello,

Does Camel's @PropertyInject annotation work in a standard java class? Say,
you want to define a utility class and you define some private variables and
use that annotation to inject some environment variables using
@PropertyInject("{{env:hostname}}"). Then you have some method as a public
interface in order to refer to them from outside the class. 

So far I only get null values. 

If I do the some injection from inside a RouteBuilder class it works.

Best
Souciance



--
View this message in context: 
http://camel.465427.n5.nabble.com/PropertyInject-in-a-standard-class-tp5786317.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to