Bug 5740: Configure control-aware mailbox
[controller.git] / opendaylight / md-sal / sal-akka-raft / src / test / resources / application.conf
1 akka {
2     persistence.snapshot-store.plugin = "mock-snapshot-store"
3     persistence.journal.plugin = "mock-journal"
4
5     loglevel = "DEBUG"
6     loggers = ["akka.testkit.TestEventListener", "akka.event.slf4j.Slf4jLogger"]
7
8     actor {
9         # enable to test serialization only.
10         serialize-messages = off
11
12         default-mailbox {
13            mailbox-type="org.opendaylight.controller.cluster.common.actor.UnboundedDequeBasedControlAwareMailbox"
14         }
15     }
16 }
17
18 mock-snapshot-store {
19   # Class name of the plugin.
20   class = "org.opendaylight.controller.cluster.raft.utils.InMemorySnapshotStore"
21   # Dispatcher for the plugin actor.
22   plugin-dispatcher = "akka.persistence.dispatchers.default-plugin-dispatcher"
23 }
24
25 mock-journal {
26   # Class name of the plugin.
27   class = "org.opendaylight.controller.cluster.raft.utils.InMemoryJournal"
28   # Dispatcher for the plugin actor.
29   plugin-dispatcher = "akka.persistence.dispatchers.default-plugin-dispatcher"
30 }

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.