Hi,
   you are programatically shutting down the executor after 10 seconds

        try {
            Thread.sleep(10000);
        } catch (InterruptedException ie) {

        }
        example.shutdown();

if you do not execute this code your threads will run forever.

Davide B.
----------------------------------------------------------------------------------------
Davide Brambilla
ContentWise R&D
Moviri
davide.brambi...@moviri.com
phone: +39 02 49517001 mobile: 345 71 13 800
Moviri S.p.A. - Via Schiaffino, 11 - 20158 Milano (MI) – ITALY

Reply via email to