I hereby claim:
- I am henrikengstrom on github.
- I am h3nk3 (https://keybase.io/h3nk3) on keybase.
- I have a public key whose fingerprint is 31C1 1375 AC5C 0575 AD34 EE7D 35CE 457A A97A C6B8
To claim this, I am signing this object:
remoteActor = system.actorFor("akka://CalculatorApplication@127.0.0.1:2552/user/simpleCalculator"); |
calculator { | |
include "common" | |
akka { | |
remote.netty.port = 2552 | |
} | |
} | |
remotelookup { | |
include "common" |
calculator { | |
include "common" | |
akka { | |
remote.netty.port = 2552 | |
} | |
} | |
remotelookup { | |
include "common" |
package com.typesafe.akka.demo.remote | |
import com.typesafe.config.ConfigFactory | |
import akka.actor.{Actor, Props, ActorSystem} | |
object MyApp extends App { | |
// Create an actor system that listens to port 2552 | |
val actorSystem1 = ActorSystem("actorSystem1", ConfigFactory.parseString(""" | |
akka { | |
actor { |
akka { | |
actor { | |
provider = "akka.remote.RemoteActorRefProvider" | |
deployment { | |
/actorName { | |
remote = "akka://actorSystem@127.0.0.1:2553" | |
} | |
} | |
} | |
remote { |
actorSystem1 { | |
akka { | |
# the config for actorSystem1 | |
} | |
} | |
actorSystem2 { | |
akka { | |
# the config for actorSystem2 | |
} |
akka { | |
actor { | |
provider = "akka.remote.RemoteActorRefProvider" | |
} | |
remote { | |
transport = "akka.remote.netty.NettyRemoteTransport" | |
netty { | |
hostname = "127.0.0.1" | |
port = 2552 | |
} |
package com.typesafe.akka.demo.remote | |
import com.typesafe.config.ConfigFactory | |
import akka.actor.{Actor, Props, ActorSystem} | |
object MyApp extends App { | |
// Create an actor system that listens to port 2552 | |
val actorSystem1 = ActorSystem("actorSystem1", ConfigFactory.parseString(""" | |
akka { | |
actor { |
I hereby claim:
To claim this, I am signing this object: