camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: CamelProxyFactoryBean - How to Set A Timeout?
Date Tue, 06 Jul 2010 11:21:57 GMT
On Tue, Jul 6, 2010 at 12:30 PM, Carlo Camerino
<carlo.camerino@gmail.com> wrote:
> thanks!
>
> btw, do i have to set the timeout on the server route builder or on
> the client route builder?
>

Client as the timeout if client based, while it waits for the server to reply.


>
>
> On Tue, Jul 6, 2010 at 4:04 PM, Claus Ibsen <claus.ibsen@gmail.com> wrote:
>> On Tue, Jul 6, 2010 at 9:44 AM, Carlo Camerino <carlo.camerino@gmail.com> wrote:
>>> Hi,
>>>
>>> Is there anyway that I could set a timeout for camel's CamelProxyFactoryBean.
>>>
>>> The equivalent bean in spring can have a timeout, namely the
>>> HttpINvokerProxyFactoryBean...
>>>
>>> i'm trying to find a similar function for camel..
>>>
>>
>> No
>>
>> That Spring is HTTP based and thus its tied to the HTTP and thus can
>> set timeout on the network protocol.
>>
>> The Camel proxy is generic and thus sends a message to a given
>> endpoint. So you gotta set the timeout on the proxied endpoint
>> instead.
>> The camel-http component has options for setting timeout
>> http://camel.apache.org/http
>>
>>
>>
>>
>>
>>>
>>> thanks
>>> carlo
>>>
>>
>>
>>
>> --
>> Claus Ibsen
>> Apache Camel Committer
>>
>> Author of Camel in Action: http://www.manning.com/ibsen/
>> Open Source Integration: http://fusesource.com
>> Blog: http://davsclaus.blogspot.com/
>> Twitter: http://twitter.com/davsclaus
>>
>



-- 
Claus Ibsen
Apache Camel Committer

Author of Camel in Action: http://www.manning.com/ibsen/
Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus

Mime
View raw message