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

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

Stijn Vranckx created CAMEL-5709:
------------------------------------

             Summary: 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
             Fix For: 2.10.2


When using the http4 component in the following way:

<to uri="http4://localhost:8090/axis2/services/BudgetManagementService?&amp;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?&amp;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

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

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-5709?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-5709.
--------------------------------

    Resolution: Invalid
    
> 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

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

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-5709?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen updated CAMEL-5709:
-------------------------------

         Fix Version/s:     (was: 2.10.2)
                        2.11.0
                        2.10.3
              Assignee: Claus Ibsen
    Remaining Estimate:     (was: 3h)
     Original Estimate:     (was: 3h)
    
> 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

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

Posted by "Stijn Vranckx (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-5709?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stijn Vranckx reopened CAMEL-5709:
----------------------------------


Can you provide us with an example on how to use the maxTotalConnections parameters when using the http4 component in a spring context file.
                
> 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

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

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ 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

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

Posted by "Stijn Vranckx (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-5709?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stijn Vranckx updated CAMEL-5709:
---------------------------------

    Description: 
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.

  was:
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?&amp;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.

    
> 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
>             Fix For: 2.10.2
>
>   Original Estimate: 3h
>  Remaining Estimate: 3h
>
> 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

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

Posted by "Stijn Vranckx (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-5709?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stijn Vranckx updated CAMEL-5709:
---------------------------------

    Description: 
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?&amp;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.

  was:
When using the http4 component in the following way:

<to uri="http4://localhost:8090/axis2/services/BudgetManagementService?&amp;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?&amp;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.

    
> 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
>             Fix For: 2.10.2
>
>   Original Estimate: 3h
>  Remaining Estimate: 3h
>
> 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?&amp;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

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

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-5709?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-5709.
--------------------------------

    Resolution: Fixed

Its a documentation issue. I have updated the http4 wiki page.

There is a new table for component options, as you need to set this on the component.

For example these options is component level only
    protected int maxTotalConnections = 200;
    protected int connectionsPerRoute = 20;

                
> 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