Hi Dmitry,

Thanks for reporting this. It seems like this configuration case wasn't tried 
out beforehand.

If you have a suggestion for a solution, please feel free to open a pull 
request.
Information and instructions are here: 
https://github.com/akka/akka/blob/master/CONTRIBUTING.md

B/

On 26 March 2014 at 14:45:23, Dmitry Schitinin ([email protected]) wrote:

I've also registered correspondent bug - 
https://www.assembla.com/spaces/akka/tickets/3964#/activity/ticket:

среда, 26 марта 2014 г., 11:07:21 UTC+4 пользователь Dmitry Schitinin написал:
Hi!

I need to configure BalancingPool to use specific (own implementation) mailbox 
type for underlying routees in akka 2.3.x.
I've tried a lot of ways to achieve it:
  1. with aim of akka.actor.deployment.<actor-path> section in the 
application.conf and pool-dispatcher subsection with FromConfig.props(...) 
consturuction in the code
  2. by defining BalancingPool(nrOfInstances).props(routeeProps) in the code
    * with specified the mailbox for the pool and/or for the routeeProps
    * with specified the dispatcher for the pool and/or for the routeeProps
 3. all points at http://doc.akka.io/docs/akka/2.3.1/scala/mailboxes.html "How 
the Mailbox Type is Selected" section

And there is no wishful results. 
In some cases it seems that mailbox (more precisely, produced MessageQueue) is 
created for each routee under BalancingPool - it seems to be incorrect behavior 
for BalancingPool.
In other cases the specified mailbox is used by router, not routees. The last 
ones use default mailbox.

What is correct and working way to configure BalancingPool with specified 
mailbox type for routees?

Thanks!

Regargs,

Dmitry




--
>>>>>>>>>> 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.
-- 
Björn Antonsson
Typesafe – Reactive Apps on the JVM
twitter: @bantonsson

JOIN US. REGISTER TODAY!
Scala
Days
June 16th-18th,
Berlin

-- 
>>>>>>>>>>      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.

Reply via email to