Merge pull request #26933 from akka/wip-ClusterSingletonProxySpec-patriknw
more classic remoting leftovers
This commit is contained in:
commit
a2658cc8a0
73 changed files with 284 additions and 322 deletions
|
|
@ -337,7 +337,7 @@ public class ActorDocTest extends AbstractJavaTest {
|
|||
// #selection-wildcard
|
||||
|
||||
// #selection-remote
|
||||
getContext().actorSelection("akka.tcp://app@otherhost:1234/user/serviceB");
|
||||
getContext().actorSelection("akka://app@otherhost:1234/user/serviceB");
|
||||
// #selection-remote
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ public class LambdaPersistencePluginDocTest {
|
|||
class SharedStorageUsage extends AbstractActor {
|
||||
@Override
|
||||
public void preStart() throws Exception {
|
||||
String path = "akka.tcp://example@127.0.0.1:2552/user/store";
|
||||
String path = "akka://example@127.0.0.1:2552/user/store";
|
||||
ActorSelection selection = getContext().actorSelection(path);
|
||||
selection.tell(new Identify(1), getSelf());
|
||||
}
|
||||
|
|
|
|||
|
|
@ -49,8 +49,8 @@ public class RemoteDeploymentDocTest extends AbstractJavaTest {
|
|||
@Test
|
||||
public void demonstrateDeployment() {
|
||||
// #make-address
|
||||
Address addr = new Address("akka.tcp", "sys", "host", 1234);
|
||||
addr = AddressFromURIString.parse("akka.tcp://sys@host:1234"); // the same
|
||||
Address addr = new Address("akka", "sys", "host", 1234);
|
||||
addr = AddressFromURIString.parse("akka://sys@host:1234"); // the same
|
||||
// #make-address
|
||||
// #deploy
|
||||
ActorRef ref =
|
||||
|
|
|
|||
|
|
@ -451,8 +451,8 @@ public class RouterDocTest extends AbstractJavaTest {
|
|||
public void demonstrateRemoteDeploy() {
|
||||
// #remoteRoutees
|
||||
Address[] addresses = {
|
||||
new Address("akka.tcp", "remotesys", "otherhost", 1234),
|
||||
AddressFromURIString.parse("akka.tcp://othersys@anotherhost:1234")
|
||||
new Address("akka", "remotesys", "otherhost", 1234),
|
||||
AddressFromURIString.parse("akka://othersys@anotherhost:1234")
|
||||
};
|
||||
ActorRef routerRemote =
|
||||
system.actorOf(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue