@Override
        public synchronized void handleMessage(Message msg) {
            System.out.println(
                    Thread.currentThread().getName() + ": " +
                    "Message '" + ((SimpleMessage)msg).getValue() + "' received at '" + ident + "'.");
            session.acknowledge(msg);
            ++cnt;
        }
Implements a simple destination that counts and acknowledges all messages received.
messagebus/src/test/java/com/yahoo/messagebus/network/rpc/LoadBalanceTestCase.java