Hi

You can configure the httpClient.xxx options to follow redirections.

Click on those links at the description for the httpClient.xxx in that
options table here
http://camel.apache.org/http4

And find the various options for redirections. And enable then, eg

httpClient.handleRedirects=true&httpClient.maxRedirects=3

Or somerthing like that. The options should be named as they are from
those links.

On Fri, May 3, 2013 at 2:36 PM, optixpro <[email protected]> wrote:
> Hi
>
> I want to authen to some system to get cookie and post some data to server.
> But i got problem after i done submit authen request to server it try to
> redirect me to some url.
> then i got* HTTP/1.1 302 Moved Temporarily* back
>
> How can i follow that redirect and proceed do another request in the same
> session.
>
> please help me
> Thanks you guys
>
> <http://camel.465427.n5.nabble.com/file/n5731967/Capture.png>
> <http://camel.465427.n5.nabble.com/file/n5731967/log.png>
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/How-to-follow-redirect-url-from-server-with-http4-in-camel-tp5731967.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
FuseSource is now part of Red Hat
Email: [email protected]
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Reply via email to