You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by James Green <ja...@gmail.com> on 2015/02/19 14:54:19 UTC
http4 - socket timeout configured per-message?
I have a route that sends to a uri provided in the message. Also in the
message is the socket timeout value.
The first part is easy, but I can't see a way of specifying the socket
timeout at runtime.
Any ideas?
Thanks,
James
Re: http4 - socket timeout configured per-message?
Posted by Claus Ibsen <cl...@gmail.com>.
You can use "dyanmic to"
http://camel.apache.org/how-to-use-a-dynamic-uri-in-to.html
But mind its likely not very good to have a gazillion of different
http endpoints to the same host but just with small variations in
soTimeout.
On Thu, Feb 19, 2015 at 2:54 PM, James Green <ja...@gmail.com> wrote:
> I have a route that sends to a uri provided in the message. Also in the
> message is the socket timeout value.
>
> The first part is easy, but I can't see a way of specifying the socket
> timeout at runtime.
>
> Any ideas?
>
> Thanks,
>
> James
--
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cibsen@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
hawtio: http://hawt.io/
fabric8: http://fabric8.io/