=act #13981 Encode name of Balancing dispatcher config path

This commit is contained in:
Patrik Nordwall 2014-08-29 11:17:33 +02:00
parent dd71de5f93
commit 1ffd05db49
3 changed files with 36 additions and 7 deletions

View file

@ -4,7 +4,7 @@
package docs.persistence
import akka.actor.{Actor, ActorSystem, Props}
import akka.actor.{ Actor, ActorSystem, Props }
import akka.persistence._
import com.typesafe.config.ConfigFactory
@ -29,7 +29,7 @@ trait PersistenceDocSpec {
new AnyRef {
//#definition
import akka.persistence.{PersistenceFailure, Persistent, Processor}
import akka.persistence.{ PersistenceFailure, Persistent, Processor }
class MyProcessor extends Processor {
def receive = {
@ -135,7 +135,7 @@ trait PersistenceDocSpec {
new AnyRef {
//#at-least-once-example
import akka.actor.{Actor, ActorPath}
import akka.actor.{ Actor, ActorPath }
import akka.persistence.AtLeastOnceDelivery
case class Msg(deliveryId: Long, s: String)
@ -177,8 +177,8 @@ trait PersistenceDocSpec {
new AnyRef {
//#channel-example
import akka.actor.{Actor, Props}
import akka.persistence.{Channel, Deliver, Persistent, Processor}
import akka.actor.{ Actor, Props }
import akka.persistence.{ Channel, Deliver, Persistent, Processor }
class MyProcessor extends Processor {
val destination = context.actorOf(Props[MyDestination])
@ -252,7 +252,7 @@ trait PersistenceDocSpec {
new AnyRef {
//#fsm-example
import akka.actor.FSM
import akka.persistence.{Persistent, Processor}
import akka.persistence.{ Persistent, Processor }
class PersistentDoor extends Processor with FSM[String, Int] {
startWith("closed", 0)