You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2009/08/08 12:50:35 UTC
[jira] Created: (CAMEL-1893) camel-cxf - Setting HTTP response code
twice
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.
[jira] Commented: (CAMEL-1893) camel-cxf - Setting HTTP response
code twice
Posted by "William Tam (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-1893?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=59237#action_59237 ]
William Tam commented on CAMEL-1893:
------------------------------------
I checked all three components (cxf, cxfbean, cxfrs) but I did not see Exchange.HTTP_RESPONSE_CODE getting set twice (with different cases). It might have been fixed already.
> 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
> Assignee: William Tam
> Priority: Minor
> Fix For: 2.3.0
>
>
> 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.
[jira] Assigned: (CAMEL-1893) camel-cxf - Setting HTTP response
code twice
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-1893?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen reassigned CAMEL-1893:
----------------------------------
Assignee: William Tam
William when you got some time please check the CXF source code for setting the HTTP response code as it appears it can set it twice (case problem)
> 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
> Assignee: William Tam
> Priority: Minor
> Fix For: 2.2.0
>
>
> 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.
[jira] Updated: (CAMEL-1893) camel-cxf - Setting HTTP response code
twice
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-1893?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen updated CAMEL-1893:
-------------------------------
Fix Version/s: 2.2.0
> 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
> Assignee: William Tam
> Priority: Minor
> Fix For: 2.2.0
>
>
> 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.
[jira] Updated: (CAMEL-1893) camel-cxf - Setting HTTP response code
twice
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-1893?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen updated CAMEL-1893:
-------------------------------
Fix Version/s: (was: 2.2.0)
2.3.0
> 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
> Assignee: William Tam
> Priority: Minor
> Fix For: 2.3.0
>
>
> 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.
[jira] Work started: (CAMEL-1893) camel-cxf - Setting HTTP response
code twice
Posted by "William Tam (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-1893?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Work on CAMEL-1893 started by William Tam.
> 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
> Assignee: William Tam
> Priority: Minor
> Fix For: 2.3.0
>
>
> 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.
[jira] Resolved: (CAMEL-1893) camel-cxf - Setting HTTP response
code twice
Posted by "William Tam (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-1893?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
William Tam resolved CAMEL-1893.
--------------------------------
Resolution: Cannot Reproduce
> 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
> Assignee: William Tam
> Priority: Minor
> Fix For: 2.3.0
>
>
> 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.
[jira] Commented: (CAMEL-1893) camel-cxf - Setting HTTP response
code twice
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-1893?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=53537#action_53537 ]
Claus Ibsen commented on CAMEL-1893:
------------------------------------
See a bit here:
http://www.nabble.com/-DISCUSS----Camel-2.0---Case-insensitive-headers-on-Camel-Message-td24877029s22882.html
> 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.