You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by GitBox <gi...@apache.org> on 2019/04/11 11:07:44 UTC

[GitHub] [camel-k] davsclaus opened a new issue #605: Camel K with Java routes without public class and imports ...

davsclaus opened a new issue #605: Camel K with Java routes without public class and imports ...
URL: https://github.com/apache/camel-k/issues/605
 
 
   I wonder if we can add support for Java routes to be even shorter if you do not have any public class, so you can just write the Camel DSL directly ala you can do for java script
   
       from("timer:foo")
         .log("Hello World");
   
   Then we can detect that there is no public class, and automatic add that and put the code inside the configure method.
   
   Of course this is for very simple routes, where most of the code is just out of the box EIPs and their configurations. And this is also good for demos :)
   
   Any thoughts?

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