Claus Ibsen created CAMEL-8104:
----------------------------------
Summary: rest-dsl - Allow custom error responses as-is without
invoking the output binding
Key: CAMEL-8104
URL: https://issues.apache.org/jira/browse/CAMEL-8104
Project: Camel
Issue Type: Improvement
Components: camel-core
Affects Versions: 2.14.0
Reporter: Claus Ibsen
Assignee: Claus Ibsen
Fix For: 2.14.1, 2.15.0
See
http://camel.465427.n5.nabble.com/Rest-DSL-OutType-in-case-of-error-message-problem-tp5759864.html
We should allow end users to define custom error messages as-is to be used as
response.
We add a flag that enables this out of the box. Then the end user just set a
custom body and set the HTTP_RESPONSE_CODE header to >= 300 value to indicate
an error. Then rest-dsl does not attempt to bind output.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)