lburgazzoli opened a new issue #1368:
URL: https://github.com/apache/camel-quarkus/issues/1368


   In[ 
CamelMain::postProcessCamelContext](https://github.com/apache/camel-quarkus/blob/eb68674d83a7034445b895a358052be3a11719f5/extensions-core/core/runtime/src/main/java/org/apache/camel/quarkus/core/CamelMain.java#L64-L74),
 the `CamelBeanPostProcessor` is invoked after routes are configured which 
causes the following route to fail as `myProcessor` is `null` when bound to the 
route.
   
   ```java
   public class MyRoutes extends RouteBuilder {
       @BeanInject("my-processor")
       MyProcessor myProcessor;
   
       @Override
       public void configure() throws Exception {
           from("timer:tick")
               .process(myProcessor)
               .to("log:info");
       }
   }
   ```


----------------------------------------------------------------
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