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:
[email protected]


With regards,
Apache Git Services

Reply via email to