Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: 3.0.0-M2
-
Component/s: Transport: (other)
-
Labels:None
-
User impact:Medium
-
Similar Issues:None
Description
According to the javadoc:
"GET METHOD will do a request from an endpoint if an endpoint parameter is set otherwise it behaves the same way as POST. You can either specify the endpoint URL REST-style, e.g., to read from jms://orders.queue http://www.mycompany.com/rest/jms/orders/queue or a logical Mule endpoint name."
This functionality is used by REST part of our webapp example as well as by the bookstore example. This functionality is broken apparently by the refactoring of MuleReceiverServlet and overriding service() which then bypasses all the REST logic in MuleRESTReceiverServlet as it's doGet/doPost methods etc. are never called.
Only way to fix this without reworking MuleRESTReceiverSerlver to not extend MuleReceiverServlet is to bring back the doXXMethod() methods and stop overriding service(), this will restore functionality and then we can reconsider the changes in the light of these problems.