camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Willem Jiang <willem.ji...@gmail.com>
Subject Re: http4 and request redirection
Date Tue, 06 Sep 2011 12:28:24 GMT
You may need to enable the bridgeEndpoint on the Jetty endpoint like 
this
from("jetty:http://localhost:6666/test/?bridgeEndpoint=true").to("http4:xxx");

On Tue Sep  6 18:52:11 2011, v.detez@gmail.com wrote:
> Hello
>
> Could I use jetty and http4 to do redirect request.
>
> My goal : have an http server via camel jetty and send the received request
> via a proxy to the net.
>
> <route>
>
>           <from uri="jetty:http://localhost:6666/test/"/>
>           <to
> uri="http4://www.google.com/?proxyHost=myproxy.be&proxyPort=8080&proxyUsername=toto&proxyDomain=CORP&proxyPassword=papassw"/>
>          </route>
>
> Could it be running?
>
> Valery
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/http4-and-request-redirection-tp4773971p4773971.html
> Sent from the Camel Development mailing list archive at Nabble.com.
>



-- 
Willem
----------------------------------
FuseSource
Web: http://www.fusesource.com
Blog:    http://willemjiang.blogspot.com (English)
         http://jnn.javaeye.com (Chinese)
Twitter: willemjiang 
Weibo: willemjiang 


Mime
View raw message