java.lang.InterruptedException while running a batch file

I am trying to run a batch file which has set of services I want to restart. When I call this batch file from my Java application I get Interrupted Exception. My batch file call net stop app-service …

Spring Retryable – Async context

Have an issue with @Retryable in the Async context, I have a service call which is returning a SocketTimeOut exception. This I would have expected to retry 3 times, I do have @EnableRetry, however I …

Thread is interrupted by calling interrupt(), but Thread.isInterrupted() returns false

I am testing InterruptedException with the following test code: Runnable runMe = new Runnable() { @Override public void run() { for(int i=0; i<6; i++) { System.out....