java docs for Artery, #21209
* and a few other things * fixed some remaining akka.tcp
This commit is contained in:
parent
4a4f9c76f9
commit
7af814d3df
13 changed files with 848 additions and 39 deletions
|
|
@ -446,6 +446,18 @@ public class RouterDocTest extends AbstractJavaTest {
|
|||
//#remoteRoutees
|
||||
}
|
||||
|
||||
// only compile
|
||||
public void demonstrateRemoteDeployWithArtery() {
|
||||
//#remoteRoutees-artery
|
||||
Address[] addresses = {
|
||||
new Address("akka", "remotesys", "otherhost", 1234),
|
||||
AddressFromURIString.parse("akka://othersys@anotherhost:1234")};
|
||||
ActorRef routerRemote = system.actorOf(
|
||||
new RemoteRouterConfig(new RoundRobinPool(5), addresses).props(
|
||||
Props.create(Echo.class)));
|
||||
//#remoteRoutees-artery
|
||||
}
|
||||
|
||||
@Test
|
||||
public void demonstrateSupervisor() {
|
||||
//#supervision
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue