Using custom dispatchers with Akka testkit

100 views
Skip to first unread message

Rajiv Kurian

unread,
May 2, 2013, 2:40:54 PM5/2/13
to akka...@googlegroups.com
Seems like Akka testkit has its own dispatcher. How do I test an actor that has stash behavior and requires a custom dispatcher?

Thanks,
Rajiv

Björn Antonsson

unread,
May 2, 2013, 3:35:44 PM5/2/13
to akka...@googlegroups.com
Hi Rajiv,

On Thursday, 2 May 2013 at 20:40, Rajiv Kurian wrote:

Seems like Akka testkit has its own dispatcher. How do I test an actor that has stash behavior and requires a custom dispatcher?

You can configure the actor that you want to test to use any mailbox and dispatcher the normal way through deployment and props. Please see the documentation for more information.



B/

Thanks,
Rajiv

--
>>>>>>>>>> Read the docs: http://akka.io/docs/
>>>>>>>>>> Check the FAQ: http://akka.io/faq/
>>>>>>>>>> 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.
To post to this group, send email to akka...@googlegroups.com.
Visit this group at http://groups.google.com/group/akka-user?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

-- 
Björn Antonsson
Typesafe – The software stack for applications that scale
twitter: @bantonsson

Reply all
Reply to author
Forward
0 new messages