Skip to content

Instantly share code, notes, and snippets.

Henrik Engstrom (@h3nk3) henrikengstrom

  • NYC/NY/USA
Block or report user

Report or block henrikengstrom

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:1539479
calculator {
include "common"
akka {
remote.netty.port = 2552
}
}
remotelookup {
include "common"
View gist:1539478
akka {
actor {
provider = "akka.remote.RemoteActorRefProvider"
}
remote {
transport = "akka.remote.netty.NettyRemoteTransport"
netty {
hostname = "127.0.0.1"
}
View gist:1539458
remoteActor = system.actorOf(new Props(JAdvancedCalculatorActor.class), "advancedCalculator");
View gist:1539451
remoteActor = system.actorFor("akka://CalculatorApplication@127.0.0.1:2552/user/simpleCalculator");
View gist:1511732
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 {
View gist:1511728
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 {
View gist:1511553
akka {
actor {
provider = "akka.remote.RemoteActorRefProvider"
deployment {
/actorName {
remote = "akka://actorSystem@127.0.0.1:2553"
}
}
}
remote {
@henrikengstrom
henrikengstrom / application.conf
Created Dec 22, 2011
Akka 2.0 application.conf example
View application.conf
actorSystem1 {
akka {
# the config for actorSystem1
}
}
actorSystem2 {
akka {
# the config for actorSystem2
}
@henrikengstrom
henrikengstrom / application
Created Dec 22, 2011
Akka 2.0 application.conf example
View application
akka {
actor {
provider = "akka.remote.RemoteActorRefProvider"
}
remote {
transport = "akka.remote.netty.NettyRemoteTransport"
netty {
hostname = "127.0.0.1"
port = 2552
}
You can’t perform that action at this time.