Re: Simple HTTP proxy

2012-11-28 Thread Matt Cheers
TRACE JettyHttpProducer - Using URL: http://www.wotif.com with method: GET 2012-11-29 13:30:40,291 [tp1195868420-23] DEBUG JettyHttpProducer - Sending HTTP request to: http//www.wotif.com:80/ On 29/11/2012, at 4:12 AM, lleclerc wrote: > remove the www. > just use ht

Re: Simple HTTP proxy

2012-11-27 Thread Matt Cheers
but with > the correct path appended http//www.facebook.com:80/a/a > > maybe this is getting closer? > > > On 28/11/2012, at 11:53 AM, lleclerc wrote: > >> this might help too : >> http://camel.apache.org/how-to-use-camel-as-a-http-proxy-between-a-client-and-server.html >> >> >> >> -- >> View this message in context: >> http://camel.465427.n5.nabble.com/Simple-HTTP-proxy-tp5723322p5723326.html >> Sent from the Camel - Users mailing list archive at Nabble.com. >

Re: Simple HTTP proxy

2012-11-27 Thread Matt Cheers
tting closer? On 28/11/2012, at 11:53 AM, lleclerc wrote: > this might help too : > http://camel.apache.org/how-to-use-camel-as-a-http-proxy-between-a-client-and-server.html > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Simple

Re: Simple HTTP proxy

2012-11-27 Thread Matt Cheers
Thanks. I also tried something similar setting the HTTP_URL and HTTP_URI. I can't reference details of full urls in my proxy since it is quite large and not constant.

Re: Simple HTTP proxy

2012-11-27 Thread lleclerc
.to("http://oldserver/x/y/z?...); }}; -- View this message in context: http://camel.465427.n5.nabble.com/Simple-HTTP-proxy-tp5723322p5723323.html Sent from the Camel - Users mailing list archive at Nabble.com.

Simple HTTP proxy

2012-11-27 Thread Matt Cheers
Camel: 2.10.2 Tomcat: 7.0.32 JVM 1.7 I am a new Camel user wanting to initially create a simple server that acts as a front-end to an existing service. So: http://newserver/proxy goes to http://oldserver http://newserver/proxy/x/y/z goes to http://oldserver/x/y/z The "from" prefix matching work