CXF: How to set global receive timeout using Spring?

I am trying to set the client receive (read) timeout on CXF for all outgoing SOAP messages. And we use Spring. I put

<http-conf:conduit name="*.*"> <http-conf:client ReceiveTimeout="300000" /> </http-conf:conduit> 

in the beans configuration, to set a new timeout for 5 minutes, and not the default one minute, but nothing happens, I still see only a 1 minute timeout. In addition, I would like to do this in the configuration, and not in the code, as in some examples that I found on the Internet.

Did I miss something?

If the configuration is somehow different?

How to set a new timeout in all outgoing SOAP messages using CXF?

+4
source share

Source: https://habr.com/ru/post/1497665/


All Articles