On Tue, Jul 6, 2010 at 12:30 PM, Carlo Camerino
<[email protected]> 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 <[email protected]> wrote:
>> On Tue, Jul 6, 2010 at 9:44 AM, Carlo Camerino <[email protected]> 
>> 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

Reply via email to