lburgazzoli commented on issue #1422:
URL: https://github.com/apache/camel-k/issues/1422#issuecomment-617871836


   You probably need to use `@PropertyInject` as:
   
   ```java
   @BindToRegistry
   public Object someBean(@PropertyInject("foo" String foo) ) {
       System.out.println("someBean: " + foo);
       return foo;
   }
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to