public static void main(String[] args) throws InterruptedException {
ActorSystem _system = ActorSystem.create("CustomRouteeRouterExample");
int lowerBound = 2;
int upperBound = 15;
DefaultResizer resizer = new DefaultResizer(lowerBound, upperBound);
ActorRef randomRouter = _system.actorOf(new Props(MsgEchoActor.class)
.withRouter(new RandomRouter(resizer)));
for (int i = 1; i <= 10; i++) {