Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why spring integration doc for akka exists only for 1.3.1 but not for next versions

There is a link about the way to integrate AKKA and Spring. Or better say: "how to use Akka actors in spring environment".

http://doc.akka.io/docs/akka-modules/1.3.1/modules/spring.html

Actually there is modules folder http://doc.akka.io/docs/akka-modules/ that exists only for 1.3.1 version.

Does it mean that there is no integration for different than `1.3.1` version 
 with spring? 
Or it means that we should not use it (spring integration I mean)? 
Or we should do it in the same way as we do it for `1.3.1` version?
like image 718
ses Avatar asked Jun 05 '13 19:06

ses


1 Answers

The akka-spring module was not ported to the Akka 2.x series because it conflicts with the way actor systems work: with parental supervision only actors create other actors, which means that Spring—not being an actor—cannot create actors.

There is a new section in the documentation for the upcoming 2.2 release about how to use dependency injection while creating actors (see the docs). We are working on a more complete document describing the interplay between DI frameworks and Akka.

like image 143
Roland Kuhn Avatar answered Nov 15 '22 09:11

Roland Kuhn