【发布时间】:2014-01-22 15:55:31
【问题描述】:
我试图通过使用上下文属性“use.async.http.conduit”根据文档http://cxf.apache.org/docs/asynchronous-client-http-transport.html来强制使用HttpAsyncClient
但是我不知道在哪里/如何在我的应用中设置这些上下文属性。
我正在通过
使用基于代理的客户端JAXRSClientFactoryBean factoryBean = new JAXRSClientFactoryBean();
factoryBean.setAddress("http://localhost:6061/services");
factoryBean.setServiceClass(MyServiceInterface.class);
documentCapture = (MyServiceInterface) factoryBean.create();
有谁知道如何设置这些上下文属性并强制使用 HttpAsyncClient?
谢谢!
【问题讨论】: