enqueue();
// Wait a few seconds then shutdown
try { Thread.sleep(15000); } catch (Exception e){} // Give ourselves time to process
CLIENT.end();
try { workerPool.endAndJoin(true, 100); } catch (Exception e){ e.printStackTrace(); }
}
public static void enqueue() {
final long future = System.currentTimeMillis() + 5;
final Job job = new Job(TestAction.class.getSimpleName());