Specify at the CXFconsumer endpoint in the xbean.xml: timeout="0"
Regards Lars 2009/2/12 peppinolusuraio <[email protected]>: > > how can I change the default http receive timeout and connection time out of > the CXF-BC ? > Can I do it in my xbean? > In CXF I would do: > > // change http receive timeout and connection timeout > Client client = ClientProxy.getClient(port); > Conduit conduit = client.getConduit(); > HTTPClientPolicy policy = ((HTTPConduit) conduit).getClient(); > if (policy == null) { > policy = new HTTPClientPolicy(); > ((HTTPConduit) conduit).setClient(policy); > } > policy.setReceiveTimeout(300000000); > policy.setConnectionTimeout(300000000); > -- > View this message in context: > http://www.nabble.com/CXF-BC-tp21973884p21973884.html > Sent from the ServiceMix - User mailing list archive at Nabble.com. > > -- http://lhein.blogspot.com
