[
https://issues.apache.org/jira/browse/CAMEL-8104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14239181#comment-14239181
]
Claus Ibsen commented on CAMEL-8104:
------------------------------------
Can you try again as I fixed a bug yesterday, it may have fixed this issue too.
> 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)