Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
1. I've a mediation route which uses cCXF component to call a webservice.
I want to increase the Receivetimeout as the default value is 60000 ms.
Do I have to edit the org.apache.cxf.http.conduits-common.cfg file?
2. Very soon this will be migrated to enterprise edition 7.1.1 where there will be multiple routes, services running from same container. So is there a way to make sure that the timeout setting only effect on required route ?
i.e. setting Receivetimeout on route level and not on container level?
Thanks in advance!
Hi, Hemant_Pekhale,
Yes, you can create one or multiple cfg files, e.g org.apache.cxf.http.conduits-abc.cfg (the org.apache.cxf.http.conduits-common.cfg is the default one for https configuration, you can add ReceiveTimeout into it or create another cfg)
For example:
order = 2
url = http://localhost:8040/services/MyRoute.*
client.ConnectionTimeout=120000
client.ReceiveTimeout=120000
You can use "url" property to filter out which services should be applied.
BR.
Xilai