camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Willem Jiang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-4128) Camel CxfRsProducer should put the response code back to the message header
Date Tue, 21 Jun 2011 13:27:47 GMT

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

Willem Jiang commented on CAMEL-4128:
-------------------------------------

@Sergey,

Thanks for your code snippet, I just update the CxfRsProducer according it.
User can get the status code from the out message header like this
{code}
  exchange.getOut().getHeader(Exchange.HTTP_RESPONSE_CODE)
{code}

> Camel CxfRsProducer should put the response code back to the message header
> ---------------------------------------------------------------------------
>
>                 Key: CAMEL-4128
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4128
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-cxf
>            Reporter: Willem Jiang
>            Assignee: Willem Jiang
>             Fix For: Future
>
>
> Current Camel CxfRsProducer doesn't put the response code back to the message header.
> But the user want to access the response code.
> Here[1] is the discussion about it.
> [1]http://camel.465427.n5.nabble.com/Http-Status-code-from-CXFRS-not-working-tp4509452p4509452.html

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message