Hi

You cannot set this with headers.

See this FAQ
http://camel.apache.org/how-do-i-use-dynamic-uri-in-to.html

On Tue, May 28, 2013 at 5:19 PM, kalyan <register.kal...@gmail.com> wrote:
> Hello,
>
> I have the code working with "httpClient.soTimeout" in the following way:
>
> from("servlet:///test")
>    .process(new MyProcessor())
>
> .to("http://localhost:8080/context??bridgeEndpoint=true&httpClient.soTimeout=1";)
>
> However, when I try to set "httpClient.soTimeout" in the following way, it
> fails to work.
> private class MyProcessor()
> {
>      public void process(final Exchange exchange) throws Exception
>      {
>           exchange.getIn().setHeader("httpClient.soTimeout", 1);
>      }
> }
>
> Thanks in advance
>
> -Kalyan
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/can-httpClient-soTimeout-be-set-through-Header-params-tp5733365.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