有一个关于集成方式的链接AKKA
and Spring
。或者更好地说:“如何使用Akka
演员在spring
环境”。
http://doc.akka.io/docs/akka-modules/1.3.1/modules/spring.html
其实有modules
folder http://doc.akka.io/docs/akka-modules/只存在于1.3.1
版本。
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?
The akka-spring
模块没有移植到 Akka 2.x 系列,因为它与 Actor 系统的工作方式相冲突:在家长监督下,只有 Actor 才能创建其他 Actor,这意味着 Spring(不是 Actor)无法创建 Actor。
即将发布的 2.2 版本的文档中有一个新部分,介绍如何在创建 actor 时使用依赖项注入(请参阅the docs)。我们正在编写一个更完整的文档来描述 DI 框架和 Akka 之间的相互作用。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)