You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Alexandre Cartapanis (JIRA)" <ji...@apache.org> on 2016/06/16 13:08:05 UTC

[jira] [Updated] (CAMEL-10064) Extra request parameter sent by the camel-jetty component

     [ https://issues.apache.org/jira/browse/CAMEL-10064?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexandre Cartapanis updated CAMEL-10064:
-----------------------------------------
    Description: 
Trying to build a very simple HTTP proxy, exactly like described in the first code sample from http://camel.apache.org/how-to-use-camel-as-a-http-proxy-between-a-client-and-server.html.

Using wireshark to see exactly what is going on.

When i do a request on http://localhost:8080/myapp, the request that is sended to real server is http://realserverhostname:8090/myapp?bridgeEndpoint=true&throwExceptionOnFailure=false.

when i do a parameterized request http://localhost:8080/myapp?toto=tata, the request that is sended to real server is http://realserverhostname:8090/myapp?toto=tata.

So when the when there is no request param, the endpoint parameter bridgeEndpoint=true&throwExceptionOnFailure=false are sended to the realserver, and if there is param they are not sended.

  was:
Trying to build a very simple HTTP proxy, exactly like described in the first code sample from http://camel.apache.org/how-to-use-camel-as-a-http-proxy-between-a-client-and-server.html.

Using wireshark to see exactly what is going on.

When a do a request on http://localhost:8080/myapp, the request that is sended to real server is http://realserverhostname:8090/myapp?bridgeEndpoint=true&throwExceptionOnFailure=false.

when i do a parameterized request http://localhost:8080/myapp?toto=tata, the request that is sended to real server is http://realserverhostname:8090/myapp?toto=tata.

So when the when there is no request param, the endpoint parameter bridgeEndpoint=true&throwExceptionOnFailure=false are sended to the realserver, and if there is param they are not sended.


> Extra request parameter sent by the camel-jetty component
> ---------------------------------------------------------
>
>                 Key: CAMEL-10064
>                 URL: https://issues.apache.org/jira/browse/CAMEL-10064
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-jetty
>    Affects Versions: 2.16.3
>            Reporter: Alexandre Cartapanis
>
> Trying to build a very simple HTTP proxy, exactly like described in the first code sample from http://camel.apache.org/how-to-use-camel-as-a-http-proxy-between-a-client-and-server.html.
> Using wireshark to see exactly what is going on.
> When i do a request on http://localhost:8080/myapp, the request that is sended to real server is http://realserverhostname:8090/myapp?bridgeEndpoint=true&throwExceptionOnFailure=false.
> when i do a parameterized request http://localhost:8080/myapp?toto=tata, the request that is sended to real server is http://realserverhostname:8090/myapp?toto=tata.
> So when the when there is no request param, the endpoint parameter bridgeEndpoint=true&throwExceptionOnFailure=false are sended to the realserver, and if there is param they are not sended.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)