default-dispatcher goes underneath akka.actor, not underneath akka.

Heiko


On Wed, May 14, 2014 at 8:32 AM, PVillela <pvill...@gmail.com> wrote:

> I have been trying to set the dispatcher for an actor system to be used by
> default for actors created with the actor system but I can't get it to
> work.  Specifically, I want to use the
> akka.testkit.CallingThreadDispatcher.  I have tried the following two
> configurations (at the classpath root) but they don't work
> (println(myActorSystem.dispatcher.getClass() still yields
> akka.dispatch.Dispatcher):
>
> akka {
>   loglevel = DEBUG
>
>   default-dispatcher {
>     type="akka.testkit.CallingThreadDispatcherConfigurator"
>   }
> }
>
> akka {
>   loglevel = DEBUG
>
>   default-dispatcher {
>     type="akka.test.calling-thread-dispatcher"
>   }
> }
>
> I'm using akka 2.10-2.2.3.
>
> Thanks for any assistance.
>
> --
> >>>>>>>>>> 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.
>



-- 

Heiko Seeberger
Twitter: @hseeberger
Blog: blog.heikoseeberger.name

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