Hi All,
I’m trying to create an ActorSystem where a set of actors have a shared
mailbox that’s prioritized. I’ve tested my mailbox without using the
BalancingPool router, and the messages are correctly prioritized. However,
when I try to create the actors using BalancingPool, the messages are no
longer prioritized. How do I create a BalancingPool router with a custom
mailbox?
With the following code, the messages are not prioritized:
val system = ActorSystem("MySystem")
val actor =
system.actorOf(BalancingPool(1).props(Props[MyActor]).withMailbox("my-mailbox"),
"myactor")
With the following code, the messages are prioritized correctly.
val system = ActorSystem("MySystem")
val actor = system.actorOf(Props[MyActor].withMailbox("my-mailbox"), "myactor")
Thanks in advance,
Pradeep
--
>>>>>>>>>> Read the docs: http://akka.io/docs/
>>>>>>>>>> Check the FAQ:
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
---
You received this message because you are subscribed to the Google Groups "Akka
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.