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 2020/03/16 10:24:43 UTC

[GitHub] [camel-k-runtime] nicolaferraro opened a new issue #266: Adding a restConfiguration() make all rest properties to be ignored

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


With regards,
Apache Git Services

[GitHub] [camel-k-runtime] lburgazzoli commented on issue #266: Adding a restConfiguration() make all rest properties to be ignored

Posted by GitBox <gi...@apache.org>.
lburgazzoli commented on issue #266: Adding a restConfiguration() make all rest properties to be ignored
URL: https://github.com/apache/camel-k-runtime/issues/266#issuecomment-600616805
 
 
   Will be fixed when migrating to Camel 3.2.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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [camel-k-runtime] lburgazzoli commented on issue #266: Adding a restConfiguration() make all rest properties to be ignored

Posted by GitBox <gi...@apache.org>.
lburgazzoli commented on issue #266: Adding a restConfiguration() make all rest properties to be ignored
URL: https://github.com/apache/camel-k-runtime/issues/266#issuecomment-599505220
 
 
   Requires: https://issues.apache.org/jira/browse/CAMEL-14723

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