Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How to set Receivetimeout in for cxf in mediation route

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!

Labels (3)
1 Reply
Anonymous
Not applicable
Author

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