ctron opened a new issue #1422: URL: https://github.com/apache/camel-k/issues/1422
Having the following code: ~~~java import org.apache.camel.BindToRegistry; import org.apache.camel.PropertyInject; public class MyBuilder extends org.apache.camel.builder.RouteBuilder { @PropertyInject("foo") String foo; @BindToRegistry public Object someBean() { System.out.println("someBean: " + foo); return foo; } @Override public void configure() throws Exception { System.out.println("configure: " + foo); } } ~~~ And running that with: ~~~ kamel run --dev -p foo=bar MyBuilder.java ~~~ Will give you: ~~~ … [3] someBean: null [3] configure: bar … ~~~ I would expect properties to be available already when binding objects. ---------------------------------------------------------------- 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