内容简介:代码日志版权声明:翻译自:http://stackoverflow.com/questions/12204418/akka-dispatcher-name-not-configured-using-default-dispatcher
我创建了followind application.conf:
akka { actor { prio-dispatcher { type = "Dispatcher" mailbox-type = "my.package.PrioritizedMailbox" } } }
当倾销配置时
actorSystem = ActorSystem.create() println(actorSystem.settings)
我得到的输出:
# application.conf: 5 "prio-dispatcher" : { # application.conf: 7 "mailbox-type" : "my.package.PrioritizedMailbox", # application.conf: 6 "type" : "Dispatcher" },
后来
[WARN] [08/30/2012 22:44:54.362] [default-akka.actor.default-dispatcher-3] [Dispatchers] Dispatcher [prio-dispatcher] not configured, using default-dispatcher
我在这里缺少什么?
UPD找到了解决方案 here ,不得不使用名称“akka.actor.prio-dispatcher”
上面的配置指定邮箱的名称是akka.actor.prio-dispatcher
问题描述: http://groups.google.com/group/akka-user/browse_thread/thread/678f2ae1c068e0fa
代码日志版权声明:
翻译自:http://stackoverflow.com/questions/12204418/akka-dispatcher-name-not-configured-using-default-dispatcher
以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网
猜你喜欢:- SmartSql使用教程(4)——多库配置与使用
- rsync配置使用简要说明
- 使用shadowtunnel配置多级代理
- 使用Maven配置Spring
- 使用go读取配置文件
- 使用 Spell 实践深度学习,几乎零配置开始使用
本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
About Face 2.0
Alan Cooper、Robert M. Reimann / Wiley / March 17, 2003 / USD 35.00
First published seven years ago-just before the World Wide Web exploded into dominance in the software world-About Face rapidly became a bestseller. While the ideas and principles in the original book......一起来看看 《About Face 2.0》 这本书的介绍吧!