Balancing pool with bounded mailbox

30 views
Skip to first unread message

Sudeep Khemka

unread,
Dec 2, 2016, 7:59:22 AM12/2/16
to Akka User List
Hi

How can I create a balancing pool with bounded mailbox? 
I tried doing as below, but seems like it ignores the value and uses its default unbounded mailbox

actorSystem.actorOf(BalancingPool(2).props(Props(classOf[Test1])).withMailbox("custom-bounded-mailbox"), "Actor1")


custom-bounded-mailbox {

  mailbox-type = "akka.dispatch.BoundedMailbox"

  mailbox-capacity = 100

  mailbox-push-timeout-time = 5s

  

}


Thanks in Advance

-Sudeep

Akka Team

unread,
Dec 14, 2016, 11:45:58 AM12/14/16
to Akka User List
See the end of the BalancingPool documentation section: http://doc.akka.io/docs/akka/2.4/scala/routing.html#BalancingPool

-- 
Johan
Akka Team
Lightbend - Reactive apps on the JVM
Twitter: @akkateam

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




Reply all
Reply to author
Forward
0 new messages