Hi Patrik,

Thanks for the response. Is there a work around for this I can employ? Is 
it possible to use a custom mailbox with the "old" balancing dispatcher 
(from pre 2.3)?

On Friday, January 2, 2015 7:05:02 AM UTC-8, Patrik Nordwall wrote:
>
> Hi Pradeep,
>
> Custom mailbox with balancing pool is not possible with Akka 2.3.x.
> It might be supported later, see https://github.com/akka/akka/issues/13961 
> and https://github.com/akka/akka/issues/13964
>
> Regards,
> Patrik
>
> On Tue, Dec 30, 2014 at 8:58 PM, Pradeep Gollakota <prade...@gmail.com 
> <javascript:>> wrote:
>
>> 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 akka-user+...@googlegroups.com <javascript:>.
>> To post to this group, send email to akka...@googlegroups.com 
>> <javascript:>.
>> Visit this group at http://groups.google.com/group/akka-user.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
>
> Patrik Nordwall
> Typesafe <http://typesafe.com/> -  Reactive apps on the JVM
> Twitter: @patriknw
>
> 

-- 
>>>>>>>>>>      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 akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to