camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Max Bridgewater <>
Subject REST DSL Hello World Not working
Date Thu, 02 Oct 2014 15:58:23 GMT

The following hello word example provided in the documentation does not
seem to work well:

<rest path="/say">
    <get uri="/hello">
      <to uri="direct:hello"/>
    <get uri="/bye" consumes="application/json">
      <to uri="direct:bye"/>
    <post uri="/bye">
      <to uri="mock:update"/>

Calling GET /say/bye returns "Error 405 Method Not Allowed". My guess is
that the  REST implementation does not allow methods with the exact same
path, even if the verb is different. This was already the case with the
RESTLET implementation.

Would anybody be able to confirm?

Thanks a lot.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message