Package org.akka.essentials.zeromq.example3.client

Source Code of org.akka.essentials.zeromq.example3.client.MyClientActorSystem

package org.akka.essentials.zeromq.example3.client;

import akka.actor.ActorSystem;
import akka.actor.Props;
import akka.routing.RoundRobinRouter;

public class MyClientActorSystem {

  /**
   * @param args
   */
  public static void main(String[] args) {
    ActorSystem system = ActorSystem.create("zeromqClientTest");
    system.actorOf(new Props(ClientActor.class)
        .withRouter(new RoundRobinRouter(3)), "client");
  }

}
TOP

Related Classes of org.akka.essentials.zeromq.example3.client.MyClientActorSystem

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.