Merge pull request #2052 from akka/wip-3900-systemActorOf-∂π
+act #3900 make systemActorOf available to Extensions
This commit is contained in:
commit
96be914979
11 changed files with 22 additions and 18 deletions
|
|
@ -200,7 +200,6 @@ trait ConsumerBehavior {
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
class Producer extends Actor with ProducerBehavior {
|
||||
def receive = producerBehavior
|
||||
}
|
||||
|
|
@ -209,10 +208,9 @@ class Consumer extends Actor with ActorLogging with ConsumerBehavior {
|
|||
def receive = consumerBehavior
|
||||
}
|
||||
|
||||
|
||||
class ProducerConsumer extends Actor with ActorLogging
|
||||
with ProducerBehavior with ConsumerBehavior {
|
||||
|
||||
|
||||
def receive = producerBehavior orElse consumerBehavior
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue