On Thu, Jul 19, 2012 at 5:25 PM, khuss <kamal.huss...@alcatel-lucent.com> wrote:
> Just to clarify more: We need to build the URI based on a parameter that is
> passed in the request. This means we need to access the Exchange object to
> get the request parameter and append that to the URI.
>
> I do not see how we can do this without using the setHeader() method.
> Unfortunately, the timeout mechanism doesn't work when we use setHeader().
>

Yes the recipient list can do that, just use an expression / method
call / simple etc. to build the URI with the soTimeout value you want.


>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/setting-http-soTimeout-via-setHeader-is-not-working-tp5716218p5716257.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
FuseSource
Email: cib...@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Reply via email to