@Override
    public void run() {
        try {
            while (true) {
                putMessage();
                Thread.sleep(1000);
            }
        } catch (InterruptedException e) {
        }
    }