You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Srivatsa Katta (JIRA)" <ji...@apache.org> on 2009/08/21 08:51:35 UTC
[jira] Created: (CAMEL-1925) HTTP component throwing
IllegalArgumentException in M3 release while bridging between jetty and
http
HTTP component throwing IllegalArgumentException in M3 release while bridging between jetty and http
----------------------------------------------------------------------------------------------------
Key: CAMEL-1925
URL: https://issues.apache.org/activemq/browse/CAMEL-1925
Project: Apache Camel
Issue Type: Bug
Components: camel-core, camel-http
Affects Versions: 2.0-M3
Reporter: Srivatsa Katta
The CamelHttpUri header is not set to the right value while routing between jetty and http components. Because of which the construction of the HttpMethod in the http component fails and throws up an IllegalArgumentException.
Detailed discussion regarding this issue can be found in this following thread.
http://www.nabble.com/HTTP-component-throwing-IllegalArgumentException-in-M3-release.-tt25057133.html#a25057133
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CAMEL-1925) HTTP component throwing
IllegalArgumentException in M3 release while bridging between jetty and
http
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-1925?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=54135#action_54135 ]
Claus Ibsen commented on CAMEL-1925:
------------------------------------
Willem I think there is more to it, when in bridge it should also do a {{throwExceptionOnFailure=false}} to be able to send the reply 100% back as is.
> HTTP component throwing IllegalArgumentException in M3 release while bridging between jetty and http
> ----------------------------------------------------------------------------------------------------
>
> Key: CAMEL-1925
> URL: https://issues.apache.org/activemq/browse/CAMEL-1925
> Project: Apache Camel
> Issue Type: Bug
> Components: camel-core, camel-http
> Affects Versions: 2.0-M3
> Reporter: Srivatsa Katta
> Assignee: Willem Jiang
>
> The CamelHttpUri header is not set to the right value while routing between jetty and http components. Because of which the construction of the HttpMethod in the http component fails and throws up an IllegalArgumentException.
> Detailed discussion regarding this issue can be found in this following thread.
> http://www.nabble.com/HTTP-component-throwing-IllegalArgumentException-in-M3-release.-tt25057133.html#a25057133
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (CAMEL-1925) HTTP component throwing
IllegalArgumentException in M3 release while bridging between jetty and
http
Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-1925?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Willem Jiang resolved CAMEL-1925.
---------------------------------
Resolution: Fixed
Fix Version/s: 2.1.0
Updated wiki page for it.
> HTTP component throwing IllegalArgumentException in M3 release while bridging between jetty and http
> ----------------------------------------------------------------------------------------------------
>
> Key: CAMEL-1925
> URL: https://issues.apache.org/activemq/browse/CAMEL-1925
> Project: Apache Camel
> Issue Type: Bug
> Components: camel-core, camel-http
> Affects Versions: 2.0-M3
> Reporter: Srivatsa Katta
> Assignee: Willem Jiang
> Fix For: 2.1.0
>
>
> The CamelHttpUri header is not set to the right value while routing between jetty and http components. Because of which the construction of the HttpMethod in the http component fails and throws up an IllegalArgumentException.
> Detailed discussion regarding this issue can be found in this following thread.
> http://www.nabble.com/HTTP-component-throwing-IllegalArgumentException-in-M3-release.-tt25057133.html#a25057133
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CAMEL-1925) HTTP component throwing
IllegalArgumentException in M3 release while bridging between jetty and
http
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-1925?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=54136#action_54136 ]
Claus Ibsen commented on CAMEL-1925:
------------------------------------
Willem I think just stating on the http wiki page that when you use {{bridgeEndpoint=true}} then you should often also set {{throwExceptionOnFailure=false}}. Eg if we just clearly document this then the end user have the freedom to decide whether to use both options or not.
> HTTP component throwing IllegalArgumentException in M3 release while bridging between jetty and http
> ----------------------------------------------------------------------------------------------------
>
> Key: CAMEL-1925
> URL: https://issues.apache.org/activemq/browse/CAMEL-1925
> Project: Apache Camel
> Issue Type: Bug
> Components: camel-core, camel-http
> Affects Versions: 2.0-M3
> Reporter: Srivatsa Katta
> Assignee: Willem Jiang
>
> The CamelHttpUri header is not set to the right value while routing between jetty and http components. Because of which the construction of the HttpMethod in the http component fails and throws up an IllegalArgumentException.
> Detailed discussion regarding this issue can be found in this following thread.
> http://www.nabble.com/HTTP-component-throwing-IllegalArgumentException-in-M3-release.-tt25057133.html#a25057133
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CAMEL-1925) HTTP component throwing
IllegalArgumentException in M3 release while bridging between jetty and
http
Posted by "Thomas Letsch (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-1925?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=57546#action_57546 ]
Thomas Letsch commented on CAMEL-1925:
--------------------------------------
Thanks for the fix, I came across the same problem.
unfortunately it seems that the CamelHttpPath is still set to the old value of the jetty component. The path gets then added to the endpoint uri of the http component. So a
<setHeader headerName="CamelHttpPath">
<constant></constant>
</setHeader>
is still needed. Is this expected behaviour or could that be fixed inside the bridgeEndpoint option as well?
> HTTP component throwing IllegalArgumentException in M3 release while bridging between jetty and http
> ----------------------------------------------------------------------------------------------------
>
> Key: CAMEL-1925
> URL: https://issues.apache.org/activemq/browse/CAMEL-1925
> Project: Apache Camel
> Issue Type: Bug
> Components: camel-core, camel-http
> Affects Versions: 2.0-M3
> Reporter: Srivatsa Katta
> Assignee: Willem Jiang
> Fix For: 2.1.0
>
>
> The CamelHttpUri header is not set to the right value while routing between jetty and http components. Because of which the construction of the HttpMethod in the http component fails and throws up an IllegalArgumentException.
> Detailed discussion regarding this issue can be found in this following thread.
> http://www.nabble.com/HTTP-component-throwing-IllegalArgumentException-in-M3-release.-tt25057133.html#a25057133
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Issue Comment Edited: (CAMEL-1925) HTTP component throwing
IllegalArgumentException in M3 release while bridging between jetty and
http
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-1925?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=54135#action_54135 ]
Claus Ibsen edited comment on CAMEL-1925 at 9/10/09 10:32 PM:
--------------------------------------------------------------
Willem I think there is more to it, when in bridge it should also do a {{throwExceptionOnFailure=false}} to be able to send the reply 100% back as is. (even if there was a http error 500 or the likes)
was (Author: davsclaus):
Willem I think there is more to it, when in bridge it should also do a {{throwExceptionOnFailure=false}} to be able to send the reply 100% back as is.
> HTTP component throwing IllegalArgumentException in M3 release while bridging between jetty and http
> ----------------------------------------------------------------------------------------------------
>
> Key: CAMEL-1925
> URL: https://issues.apache.org/activemq/browse/CAMEL-1925
> Project: Apache Camel
> Issue Type: Bug
> Components: camel-core, camel-http
> Affects Versions: 2.0-M3
> Reporter: Srivatsa Katta
> Assignee: Willem Jiang
>
> The CamelHttpUri header is not set to the right value while routing between jetty and http components. Because of which the construction of the HttpMethod in the http component fails and throws up an IllegalArgumentException.
> Detailed discussion regarding this issue can be found in this following thread.
> http://www.nabble.com/HTTP-component-throwing-IllegalArgumentException-in-M3-release.-tt25057133.html#a25057133
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (CAMEL-1925) HTTP component throwing
IllegalArgumentException in M3 release while bridging between jetty and
http
Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-1925?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Willem Jiang reassigned CAMEL-1925:
-----------------------------------
Assignee: Willem Jiang
> HTTP component throwing IllegalArgumentException in M3 release while bridging between jetty and http
> ----------------------------------------------------------------------------------------------------
>
> Key: CAMEL-1925
> URL: https://issues.apache.org/activemq/browse/CAMEL-1925
> Project: Apache Camel
> Issue Type: Bug
> Components: camel-core, camel-http
> Affects Versions: 2.0-M3
> Reporter: Srivatsa Katta
> Assignee: Willem Jiang
>
> The CamelHttpUri header is not set to the right value while routing between jetty and http components. Because of which the construction of the HttpMethod in the http component fails and throws up an IllegalArgumentException.
> Detailed discussion regarding this issue can be found in this following thread.
> http://www.nabble.com/HTTP-component-throwing-IllegalArgumentException-in-M3-release.-tt25057133.html#a25057133
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CAMEL-1925) HTTP component throwing
IllegalArgumentException in M3 release while bridging between jetty and
http
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-1925?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=57547#action_57547 ]
Claus Ibsen commented on CAMEL-1925:
------------------------------------
Thomas create a new ticket and attach a unit test / sample that demonstrates the issue.
> HTTP component throwing IllegalArgumentException in M3 release while bridging between jetty and http
> ----------------------------------------------------------------------------------------------------
>
> Key: CAMEL-1925
> URL: https://issues.apache.org/activemq/browse/CAMEL-1925
> Project: Apache Camel
> Issue Type: Bug
> Components: camel-core, camel-http
> Affects Versions: 2.0-M3
> Reporter: Srivatsa Katta
> Assignee: Willem Jiang
> Fix For: 2.1.0
>
>
> The CamelHttpUri header is not set to the right value while routing between jetty and http components. Because of which the construction of the HttpMethod in the http component fails and throws up an IllegalArgumentException.
> Detailed discussion regarding this issue can be found in this following thread.
> http://www.nabble.com/HTTP-component-throwing-IllegalArgumentException-in-M3-release.-tt25057133.html#a25057133
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CAMEL-1925) HTTP component throwing
IllegalArgumentException in M3 release while bridging between jetty and
http
Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-1925?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=54133#action_54133 ]
Willem Jiang commented on CAMEL-1925:
-------------------------------------
Committed a fix for this issue by introduce a new option of bridgeEndpoint, if this option is true, HttpProducer will ignore the message header of Exchange.HTTP_URI .
http://svn.apache.org/viewvc?rev=813653&view=rev
TODO update the wiki page for it.
> HTTP component throwing IllegalArgumentException in M3 release while bridging between jetty and http
> ----------------------------------------------------------------------------------------------------
>
> Key: CAMEL-1925
> URL: https://issues.apache.org/activemq/browse/CAMEL-1925
> Project: Apache Camel
> Issue Type: Bug
> Components: camel-core, camel-http
> Affects Versions: 2.0-M3
> Reporter: Srivatsa Katta
> Assignee: Willem Jiang
>
> The CamelHttpUri header is not set to the right value while routing between jetty and http components. Because of which the construction of the HttpMethod in the http component fails and throws up an IllegalArgumentException.
> Detailed discussion regarding this issue can be found in this following thread.
> http://www.nabble.com/HTTP-component-throwing-IllegalArgumentException-in-M3-release.-tt25057133.html#a25057133
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.