lburgazzoli edited a comment on issue #362:
URL: https://github.com/apache/camel-k-runtime/issues/362#issuecomment-645578984


   The reason of the failure is because of a wrong ordering of loading routes 
and post process them in camel-quarkus so the call to `configure()` method 
happens before the post processor kicks in, thus the `service` bean is not yet 
injected when bound to the route.
   
   However, if you change the processor invocation from `.process(service)` to 
`process("service")` then the route should not fail to start and your processor 
will be invoked.
   
   Opened an [issue](https://github.com/apache/camel-quarkus/issues/1368) on 
camel-quarkus 
   
   


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