Skip to content

Commit 3ed8c5d

Browse files
author
Vojin Jovanovic
committed
Fixing issues #2 and #3 in Actor Migration.
1 parent c54518a commit 3ed8c5d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

overviews/core/_posts/2012-11-08-actors-migration-guide.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -518,14 +518,15 @@ In Akka, watching the already dead actor will result in sending the `Terminated`
518518
### Step 5 - Moving to the Akka Back-end
519519

520520
At this point user code is ready to operate on Akka actors. Now we can switch the actors library from Scala to
521-
Akka actors. In order to do this configure the build to exclude the `scala-actors.jar` and the `scala-actors-migration.jar`
522-
and add the *akka-actor.jar*. The AMK is built to work only with Akka actors version 2.1 which are included in the [Scala distribution](http://www.scala-lang.org/downloads)
521+
Akka actors. To do this configure the build to exclude the `scala-actors.jar` and the `scala-actors-migration.jar`,
522+
and to include *akka-actor.jar* and *typesafe-config.jar*. The AMK is built to work only with Akka actors version 2.1 which are included in the [Scala distribution](http://www.scala-lang.org/downloads)
523523
and can be configured by these [instructions](http://doc.akka.io/docs/akka/2.1.0/intro/getting-started.html#Using_a_build_tool).
524524

525525
After this change the compilation will fail due to different package names and slight differences in the API. We will have to change each imported actor
526526
from scala to Akka. Following is the non-exhaustive list of package names that need to be changed:
527527

528528
scala.actors._ -> akka.actor._
529+
scala.actors.migration.ActWithStash -> akka.actor.ActorDSL._
529530
scala.actors.migration.pattern.ask -> akka.pattern.ask
530531
scala.actors.migration.Timeout -> akka.util.Timeout
531532

0 commit comments

Comments
 (0)