Return-Path: Delivered-To: apmail-camel-dev-archive@www.apache.org Received: (qmail 94748 invoked from network); 8 Aug 2009 10:50:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 8 Aug 2009 10:50:51 -0000 Received: (qmail 63258 invoked by uid 500); 8 Aug 2009 10:50:58 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 63189 invoked by uid 500); 8 Aug 2009 10:50:58 -0000 Mailing-List: contact dev-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list dev@camel.apache.org Received: (qmail 63179 invoked by uid 500); 8 Aug 2009 10:50:58 -0000 Delivered-To: apmail-activemq-camel-dev@activemq.apache.org Received: (qmail 63176 invoked by uid 99); 8 Aug 2009 10:50:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 08 Aug 2009 10:50:58 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 08 Aug 2009 10:50:56 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id C3257234C004 for ; Sat, 8 Aug 2009 03:50:35 -0700 (PDT) Message-ID: <1407323790.1249728635784.JavaMail.jira@brutus> Date: Sat, 8 Aug 2009 03:50:35 -0700 (PDT) From: "Claus Ibsen (JIRA)" To: camel-dev@activemq.apache.org Subject: [jira] Created: (CAMEL-1893) camel-cxf - Setting HTTP response code twice MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: ae95407df07c98740808b2ef9da0087c X-Virus-Checked: Checked by ClamAV on apache.org camel-cxf - Setting HTTP response code twice -------------------------------------------- Key: CAMEL-1893 URL: https://issues.apache.org/activemq/browse/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.