diff --git a/rest-api/rest-api.camel.yaml b/rest-api/rest-api.camel.yaml index d070e85..65232bd 100644 --- a/rest-api/rest-api.camel.yaml +++ b/rest-api/rest-api.camel.yaml @@ -1,10 +1,12 @@ - rest: path: /api - steps: - - get: - path: /hello - - get: - path: "/hello/{name}" + get: + - path: /hello + to: + uri: direct:hello + - path: "/hello/{name}" + to: + uri: direct:hello-name - route: id: hello from: