I wanted to circle back to this.
I use this to generate a stub:
String contextUrl = co.getValue();
ClientConnectionManager cm = new ThreadSafeClientConnManager();
HttpClient httpClient = new DefaultHttpClient(cm);
ClientExecutor executor = new ApacheHttpClient4Executor(htt
You should be calling ClientResponse.releaseConnection() after you are
done with the ClientResponse. Resteasy should automatically clean up
the connection, but this only happens on a GC.
In JAX-RS 2.0 you are also required to call Response.close().
On 10/15/2013 5:15 PM, John D. Ament wrote:
>