Thanks again! I tried that and a few different combinations and no success.
When I turned camel trace level on I saw Facebook returning a redirect so I
switched to a website that responds to a plain 'curl' command. My complete
simple example is below and pretty much straight off camel website.
i tried https in the 'to' address and also 2.9.3 and 2.10.1 versions of camel
and same malformed url was produced.
On 28/11/2012, at 3:42 PM, Matt Cheers wrote:
> Thanks again.
>
> No success yet. I tried that route with my
Thanks again.
No success yet. I tried that route with my spring app and got
org.apache.camel.component.http.HttpOperationFailedException: HTTP operation
failed invoking http//www.facebook.com:80/?amp%3BthrowExceptionOnFailure=false
with statusCode: 500
very odd the url isn't correctly formed
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.
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