Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.14.0
-
None
-
Unknown
Description
Camel complains Failed to start route route3 because of Multiple consumers for the same endpoint is not allowed, when define the rest service on the same path.
restConfiguration() .component("jetty") .host("localhost").port(8080) .contextPath("rest") .bindingMode(RestBindingMode.auto) .dataFormatProperty("prettyPrint", "true"); rest("/say") .get("/hello").to("direct:hello") .get("/bye").consumes("application/json").to("direct:bye") .post("/bye").to("direct:bye"); from("direct:hello") .transform().constant("Hello World"); from("direct:bye") .transform().constant("Bye World");
Here is the discussion in the nabble.
Attachments
Issue Links
- relates to
-
CAMEL-7952 Camel REST does not handle same path with differents VERBS
- Closed