Message msg = CoreMessageFactory.createCoreMessage(123, true, null);
MessageReference ref = ms.reference(msg);
router.handle(null, ref, null);
}
}, "Message sending thread");
// start the sending tread, which will immediately grab the router's "receivers" lock, and it
// will sleep for 3 seconds before attempting to grab LockingReceiver's lock.