You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Thomas Letsch (JIRA)" <ji...@apache.org> on 2010/02/12 11:11:33 UTC

[jira] Commented: (CAMEL-1925) HTTP component throwing IllegalArgumentException in M3 release while bridging between jetty and http

    [ 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.