You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Jason Chaffee (JIRA)" <ji...@apache.org> on 2013/06/20 07:08:20 UTC

[jira] [Commented] (CAMEL-6469) Add StatusLine object to exchange in populateResponse

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

Jason Chaffee commented on CAMEL-6469:
--------------------------------------

Another options is to simply add the ReasonPhrase as well as the StatusCode to properties on the exchange.
                
> Add StatusLine object to exchange in populateResponse
> -----------------------------------------------------
>
>                 Key: CAMEL-6469
>                 URL: https://issues.apache.org/jira/browse/CAMEL-6469
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-http
>            Reporter: Jason Chaffee
>
> If throwing exceptions are turned off, there is no way to get the same information that is used construct the exception when throwing them.  There should be an exchange property for the StatusLine object in camel-http4 just like there is for the response code.  In fact, if the StatusLine object is available, there is no need for the response code property.  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira