[ 
https://issues.apache.org/activemq/browse/CAMEL-1203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=48379#action_48379
 ] 

Claus Ibsen commented on CAMEL-1203:
------------------------------------

I was wondering if the consumer can't process it and throws an exception is it 
possible to return a HTTP error 500 or the like? Currently we don't send a 
response in case of processing exception

We have such a feature in the jetty/http component, see DefaultHttpBinding 

> REST (Restlet based) component
> ------------------------------
>
>                 Key: CAMEL-1203
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1203
>             Project: Apache Camel
>          Issue Type: Improvement
>    Affects Versions: 2.0.0
>            Reporter: Przemyslaw Budzik
>            Assignee: William Tam
>         Attachments: CAMEL-1203.patch, camel-restlet.patch
>
>
> This is the code I was talking with James which we are using in SubRecord. It 
> is minimalistic, but does its job for both consumer and producer and is very 
> easy to use. If you want could be a replacement for the current camel-rest 
> (or could be merged).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to