lburgazzoli edited a comment on issue #358: Fix #136 @ConfigProperty and 
@Inject do not work in RouteBuilders
URL: https://github.com/apache/camel-quarkus/pull/358#issuecomment-548416614
 
 
   I'm wonder if it worth doing that as there's basic dependency injection in 
camel that works out of the box 
[(example](https://github.com/apache/camel/blob/master/core/camel-main/src/test/java/org/apache/camel/main/MainIoCTest.java#L102-L156))
 if people need to use MicroProfile / CDI injection then they could simply 
annotate the route with ApplicationScope or any similar annotation (we still 
need to fix the problem of having the same route discovered at runtime and at 
build time, but that's something we need to do in any case).
   
   I would really like to keep instantiating routes in static init as much as 
possible.
   
   

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


With regards,
Apache Git Services

Reply via email to