You can try with adding this option
httpClient.followRedirects=true

to the http endpoint uri

Then it could possible do the redirect handling itself. But you can
google the internet about http client 3.x and how to deal with
redirects.

On Fri, May 31, 2013 at 12:33 PM, indrayani <ind.k...@gmail.com> wrote:
> Hi,
> thank you so much for the quick reply.
> after adding throwExceptionOnFailure=false , I am not getting any exception
> now.
> but the url that i have mentioned in To,  i think that is not getting the
> request.
>
> also,
> in the reply you have mentioned :
>
> " your client should then call again with the redirected url.
> The redirect url should be returned in the http headers "
>
> can you please explain me how should i do that
>
>
> Regards,
> Indrayani
>
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/regarding-status-code-302-tp5733545p5733547.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
www.camelone.org: The open source integration conference.

Red Hat, Inc.
FuseSource is now part of Red Hat
Email: cib...@redhat.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Reply via email to