/**
* @param args
*/
public static void main(String[] args) {
ActorSystem _system = ActorSystem.create("SmallestMailBoxRouterExample");
ActorRef smallestMailBoxRouter = _system.actorOf(new Props(MsgEchoActor.class)
.withRouter(new SmallestMailboxRouter(5)),"mySmallestMailBoxRouterActor");
for (int i = 1; i <= 10; i++) {
//works like roundrobin but tries to rebalance the load based on
//size of actor's mailbox