Apache camel ApacheCamel作为代理和查询参数

Apache camel ApacheCamel作为代理和查询参数,apache-camel,Apache Camel,我正试图构建一个非常简单的HTTP代理,正如中所述 我使用wireshark查看到底发生了什么 当我在http://localhost:8080/myapp,发送到实际服务器的请求是http://realserverhostname:8090/myapp?bridgeEndpoint=true&throwExceptionOnFailure=false 当我执行参数化请求时http://localhost:8080/myapp?toto=tata,发送到实际服务器的请求是http://reals

我正试图构建一个非常简单的HTTP代理,正如中所述

我使用wireshark查看到底发生了什么

当我在
http://localhost:8080/myapp
,发送到实际服务器的请求是
http://realserverhostname:8090/myapp?bridgeEndpoint=true&throwExceptionOnFailure=false

当我执行参数化请求时
http://localhost:8080/myapp?toto=tata
,发送到实际服务器的请求是
http://realserverhostname:8090/myapp?toto=tata

因此,当没有请求参数时,端点参数
bridgeEndpoint=true&throweExceptionOnFailure=false
将发送到实际服务器,如果有参数,则不发送

有人能解释一下这种行为的原因吗


即使没有请求参数,如何强制camel不发送端点参数?

这似乎是camel中jetty组件的一个错误。 替换




这将解决问题


jetty组件上创建了一个bug

这似乎是camel中jetty组件中的一个bug。 替换




这将解决问题

jetty组件上创建了一个bug

<to uri="jetty:http://realserverhostname:8090/myapp?bridgeEndpoint=true&amp;throwExceptionOnFailure=false"/>
<to uri="http://realserverhostname:8090/myapp?bridgeEndpoint=true&amp;throwExceptionOnFailure=false"/>
<to uri="http4://realserverhostname:8090/myapp?bridgeEndpoint=true&amp;throwExceptionOnFailure=false"/>