为什么akka的spring integration doc仅存在于1.3.1但不存在于下一版本 [英] Why spring integration doc for akka exists only for 1.3.1 but not for next versions
问题描述
有关于整合 AKKA
和 Spring
的方法的链接。或者更好地说:如何在 spring
环境中使用 Akka
演员。
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
实际上有模块
文件夹 http://doc.akka.io/docs/akka-modules/ 仅存在 1.3.1
版本。
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?
推荐答案
akka-spring
模块没有被移植到Akka 2.x系列,因为它与actor系统的工作方式相冲突:在父母监督下,只有actor创建其他actor,这意味着Spring - 不是actor也不能创建actor。
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.
在即将发布的2.2版本的文档中有一个关于如何在创建actor时使用依赖注入的新部分(参见文档)。我们正在编写一份更完整的文档,描述DI框架与Akka之间的相互作用。
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.
这篇关于为什么akka的spring integration doc仅存在于1.3.1但不存在于下一版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!