This is an automated email from the ASF dual-hosted git repository.

nferraro pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-k.git


The following commit(s) were added to refs/heads/master by this push:
     new 24ce690  fix: Use platform HTTP server in REST DSL example
24ce690 is described below

commit 24ce690a24e014cf7d44c1216fcc742e57649402
Author: Antonin Stefanutti <anto...@stefanutti.fr>
AuthorDate: Thu May 28 17:34:02 2020 +0200

    fix: Use platform HTTP server in REST DSL example
---
 examples/routes-rest.js | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/examples/routes-rest.js b/examples/routes-rest.js
index e3d86ce..264af31 100644
--- a/examples/routes-rest.js
+++ b/examples/routes-rest.js
@@ -17,13 +17,9 @@
 //
 // To run this integrations use:
 //
-//     kamel run --name=withrest --dependency=camel-undertow 
examples/routes-rest.js
+//     kamel run --name=withrest examples/routes-rest.js
 //
 
-c = restConfiguration();
-c.setComponent('undertow');
-c.setPort('8080');
-
 rest('/say/hello')
     .produces("text/plain")
     .get()

Reply via email to