Anyone have a thought on this? Unfortunately, we've been burned by Apache's HttpClient leaking file handles without the MultiThreadedHttpConnectionManager and there is zero chance I'll be allowed to ship production code without using it again (or something similar) with CXF. I'd have to find some other SOAP client to use, which I'd rather avoid.
Thanks, Chris -----Original Message----- From: Kessel, Christopher Sent: Thursday, April 15, 2010 10:44 AM To: '[email protected]' Subject: Using a MultiThreadedHttpConnectionManager with JaxWsProxyFactoryBean? How can I inject the connection handler into the JaxWsProxyFactoryBean? Our application literally sends hundreds of thousands of requests an hour and we've found we must use the MultiThreadedHttpConnectionManager or suffer running out of file handles (I was never able to tell if we were leaking or just the system can't close them up as fast as we use them). Our old interface uses HttpClient, with the multi-threaded connection manager. Our new code is using CXF, with JaxWsProxyFactoryBean handling everything under the covers (well, except hopefully I can control the connection manager). I've scoured Google, but not had much luck finding an example. Thanks, Chris
