Using 2.3.0RC3 and a onePerRequest strategy (using spray). The code below 
was working fine until I did some code refactoring elsewhere in the project 
and the following actor creator function started to cause a compile error.

def myapi(msg: Msg): Route =
  ctx => perRequest(ctx, Props(new BusinessServiceActor(dataServiceActor)), 
msg)

with compile error:

type mismatch;
[error]  found   : akka.actor.Props
[error]  required: akka.actor.ActorRef

Any ideas about what might cause this error and how to track it down? 
Again, these lines of code compiled and ran until I made changes elsewhere. 
Thanks.

-- 
>>>>>>>>>>      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 [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/groups/opt_out.

Reply via email to