Hi All
I have a Runnable running inside a ThreadPoolExecutor long polling on an http request using the HttpClient .
So I am doing the request in a very way :
httpClient = new HttpClient(new MultiThreadedHttpConnectionManager());
clientParams.setSoTimeout(timeout);
HttpMethodBase method = new GetMethod(request.toString());
int iGetResultCode = 0;
iGetResultCode = httpClient.executeMethod(method);
Now I really would like to cancel the polling from an other thread ( or somehow ).
shutdown is not really working , so maybe you know what else could I try.