You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2012/10/17 14:46:07 UTC

[jira] [Commented] (CAMEL-5709) Http4 Endpoint does not remove all Options from URI

    [ https://issues.apache.org/jira/browse/CAMEL-5709?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13477828#comment-13477828 ] 

Claus Ibsen commented on CAMEL-5709:
------------------------------------

Just as any other spring bean, eg as shown on http component page
http://camel.apache.org/http

{code}
<bean id="http4" class="...">
  // set the options here
</bean>
{code}

This applies to any of the Camel components.
                
> Http4 Endpoint does not remove all Options from URI
> ---------------------------------------------------
>
>                 Key: CAMEL-5709
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5709
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-http
>    Affects Versions: 2.10.1
>            Reporter: Stijn Vranckx
>            Assignee: Claus Ibsen
>             Fix For: 2.10.3, 2.11.0
>
>
> When using the http4 component in the following way:
> <to uri="http4://localhost:8090/axis2/services/BudgetManagementService?throwExceptionOnFailure=false"/>
> The request gets send to the correct URI : http://localhost:8090/axis2/services/BudgetManagementService
> When adding the additional parameter to determine the maxTotalConnections in the following way:
> <to uri="http4://localhost:8090/axis2/services/BudgetManagementService?throwExceptionOnFailure=false&amp;maxTotalConnections=20"/>
> This parameters is not remove from the URI and the request is send to:
> http://localhost:8090/axis2/services/BudgetManagementService?maxTotalConnections=20
> Which results in an error calling the webservice.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira