camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <>
Subject [jira] Created: (CAMEL-1893) camel-cxf - Setting HTTP response code twice
Date Sat, 08 Aug 2009 10:50:35 GMT
camel-cxf - Setting HTTP response code twice

                 Key: CAMEL-1893
             Project: Apache Camel
          Issue Type: Bug
          Components: camel-cxf
    Affects Versions: 2.0-M3
            Reporter: Claus Ibsen
            Priority: Minor

During CAMEL-1886 I discovered that the camel-cxf component and maybe others as well potentially
sets the reponse code twice.

As headers are populate from the HTTP request it may already have a Exchange.HTTP_RESPONSE_CODE
key key already however in different case, such as lower case only etc.
And then in the code later the response code is added using the Exchange.HTTP_RESPONSE_CODE
key that have a different case.

But CAMEL-1886 can resolve this as we would like to add case insensitive headers in Camel.

However the code in camel-cxf should be reviewed to ensure that the response code is set correctly
using Exchange.HTTP_RESPONSE_CODE to avoid double values.
And most importantly the response code is the correct value.

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

View raw message