Hi,
My comment inline
On 2010-5-27, at 下午4:34, Soumya wrote:
Hi guys,
In servicemix 3.2.1 we have the file component.properties in the
conf directory -
there we have the default setting of
servicemix-http.consumerProcessorSuspendTime=70000
i.e. a request sender waits for 70 seconds to get back a response
from a component and then it times out. Now we have a component
which makes a huge DB query and then takes quite a bit of time
creating a big xml and quite often overshoots the timeout limit of
70 seconds.
1) Can we increase this default value to say 140 seconds? will it
cause any issue? If so what is the max permissible timeout we should
use?
yes, you can increase this default value to any longer timeout what
you need, and it won't cause any issue IMHO.
2) If I make a change in the component.properties it will be
reflected for all components deployed in the servicemix. Is there a
way to apply the setting only for one particular component?
You see the servicemix-http prefix for this property, so it only
affect all http consumer endpoints, but not for all other component's
endpoints.
If you only want to specify timeout for a certain http consumer
endpoint, I believe you can add timeout="any_you_want" attribute for
your http consumer configuration
3) We have an HTTP component deployed on a DMZ frontend which routes
requests to LWC components deployed on another servicemix instance
on another machine. Do I need to make the above change on both the
servicemix instances? Or a change in the DMZ servicemix would suffice?
Only change in the DMZ servicemix would be enough.
Freeman
Expecting your help in this issue. I know 3.2.1 is way out of use
but we still use it and hence any help from you all would be
appreciated.
Best Regards,
Soumya
--
Freeman Fang
------------------------
Open Source SOA: http://fusesource.com