2019-07-05 08:21:38 +02:00
|
|
|
# Classic Actors
|
|
|
|
|
|
|
|
|
|
@@@ note
|
|
|
|
|
|
|
|
|
|
Akka Classic is the original Actor APIs, which have been improved by more type safe and guided Actor APIs,
|
|
|
|
|
known as Akka Typed. Akka Classic is still fully supported and existing applications can continue to use
|
|
|
|
|
the classic APIs. It is also possible to use Akka Typed together with classic actors within the same
|
2019-07-09 00:55:58 -07:00
|
|
|
ActorSystem, see @ref[coexistence](typed/coexisting.md). For new projects we recommend using the new Actor APIs.
|
2019-07-05 08:21:38 +02:00
|
|
|
|
|
|
|
|
For the new API see @ref[Actors](typed/actors.md).
|
|
|
|
|
|
|
|
|
|
@@@
|
2013-04-19 13:21:15 +02:00
|
|
|
|
2018-05-15 18:44:33 +09:00
|
|
|
## Dependency
|
|
|
|
|
|
2019-07-05 08:21:38 +02:00
|
|
|
To use Classic Akka Actors, you must add the following dependency in your project:
|
2018-05-15 18:44:33 +09:00
|
|
|
|
|
|
|
|
@@dependency[sbt,Maven,Gradle] {
|
|
|
|
|
group="com.typesafe.akka"
|
|
|
|
|
artifact="akka-actor_$scala.binary_version$"
|
|
|
|
|
version="$akka.version$"
|
|
|
|
|
}
|
|
|
|
|
|
2017-05-10 16:20:38 +02:00
|
|
|
@@toc { depth=2 }
|
2013-04-19 13:21:15 +02:00
|
|
|
|
2017-05-10 16:20:38 +02:00
|
|
|
@@@ index
|
|
|
|
|
|
|
|
|
|
* [actors](actors.md)
|
|
|
|
|
* [fault-tolerance](fault-tolerance.md)
|
|
|
|
|
* [dispatchers](dispatchers.md)
|
|
|
|
|
* [mailboxes](mailboxes.md)
|
|
|
|
|
* [routing](routing.md)
|
|
|
|
|
* [fsm](fsm.md)
|
|
|
|
|
* [persistence](persistence.md)
|
2018-08-22 10:47:32 +01:00
|
|
|
* [persistence-fsm](persistence-fsm.md)
|
2017-05-10 16:20:38 +02:00
|
|
|
* [testing](testing.md)
|
|
|
|
|
|
2017-07-10 09:38:07 -07:00
|
|
|
@@@
|