Remove route() from rest example
diff --git a/generic-examples/rest/routes-rest.js b/generic-examples/rest/routes-rest.js
index 264af31..f232943 100644
--- a/generic-examples/rest/routes-rest.js
+++ b/generic-examples/rest/routes-rest.js
@@ -23,5 +23,7 @@
 rest('/say/hello')
     .produces("text/plain")
     .get()
-        .route()
-        .transform().constant("Hello World");
+    .to('direct:sayHello');
+
+from('direct:sayHello')
+    .transform().constant("Hello World");