[akka-user] Using a BalancingPool with PriorityGenerator

2014-11-26 Thread Jelmer Kuperus
Hi I am trying to get a balancing pool working in conjunction with a 
priority mailbox (eg using the PriorityGenerator) 

I expected the following to work : 
context.actorOf(BalancingPool(5).withDispatcher("prio-dispatcher").props(Props(new
 
Actor)))

but it seems that the PriorityGenerator never gets called.

Does anyone have any idea on how to do this ?





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


Re: [akka-user] Using a BalancingPool with PriorityGenerator

2014-11-28 Thread Patrik Nordwall
I think that might not work in Akka 2.3.x. It was improved by issue #13964
 and corresponding pull request
#2127 .

Regards,
Patrik

On Wed, Nov 26, 2014 at 9:34 PM, Jelmer Kuperus  wrote:

> Hi I am trying to get a balancing pool working in conjunction with a
> priority mailbox (eg using the PriorityGenerator)
>
> I expected the following to work :
> context.actorOf(BalancingPool(5).withDispatcher("prio-dispatcher").props(Props(new
> Actor)))
>
> but it seems that the PriorityGenerator never gets called.
>
> Does anyone have any idea on how to do this ?
>
>
>
>
>
>  --
> >> 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.
>



-- 

Patrik Nordwall
Typesafe  -  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.