camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CAMEL-8104) rest-dsl - Allow custom error responses as-is without invoking the output binding
Date Tue, 02 Dec 2014 12:16:12 GMT

     [ https://issues.apache.org/jira/browse/CAMEL-8104?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Claus Ibsen resolved CAMEL-8104.
--------------------------------
    Resolution: Fixed

> 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)

Mime
View raw message