nicolaferraro opened a new issue #266: Adding a restConfiguration() make all 
rest properties to be ignored
URL: https://github.com/apache/camel-k-runtime/issues/266
 
 
   A simple file with a rest route:
   
   ```
   // camel-k: language=java
   
   import org.apache.camel.builder.RouteBuilder;
   
   public class Called extends RouteBuilder {
     @Override
     public void configure() throws Exception {
   
                //restConfiguration();
   
                rest().get("/")
                  .route()
                  .setBody().constant("Ciao");
     }
   }
   
   ```
   
   Running it with `-p camel.rest.port=8080` makes it actually run on port 8080.
   
   But if you remove the comment on `restConfiguration()` it binds itself on 
port 0.

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