From f4db937f6e19fb5372d422f81f8e460ecfb6307a Mon Sep 17 00:00:00 2001 From: Antonin Stefanutti Date: Thu, 28 May 2020 17:34:02 +0200 Subject: [PATCH] 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 e3d86cebdf..264af31b64 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()