You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2019/12/05 09:01:44 UTC

[GitHub] [camel-quarkus] lburgazzoli opened a new issue #511: Pre-configure reoute builders at build time

lburgazzoli opened a new issue #511: Pre-configure reoute builders at build time
URL: https://github.com/apache/camel-quarkus/issues/511
 
 
   As today we do not perform so may optimizations and introspection to the routes so we may introduce a new annotation to give some hints to the build processor about in which phase a route is expected to be configured and some additional meat-data like classes that need to be registered for reflection, like:
   
   ```java
   import org.apache.camel.quarkus.annotations.Configure;
   import io.quarkus.deployment.annotations.ExecutionTime;
   
   @Configure(ExecutionTime.STATIC_INIT, reflectiveClasses = { "com.acme.MyBean" })
   public class MyRouteBuilder extends RouteBuilder {
       @Override
       public void configure() {
           from("somewhere")
               .bean("com.acme.MyBean", "doSomething");
       }
   }
   ```
   
   toughs ? 
   

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services