That's great! I changed it to def and it works. lazy val might be better.

Thanks a lot.

On Friday, December 18, 2015 at 3:39:21 AM UTC-6, Patrik Nordwall wrote:
>
> That might be an issue with startup ordering. Try to make it lazy.
>
> You can configure another serializer for akka.actor.ActorRef, e.g.
>
> akka.actor.serialization-bindings {
>   "akka.actor.ActorRef" = java
>
> }
>
> /Patrik
>
> On Thu, Dec 17, 2015 at 6:54 PM, <alex.f....@gmail.com <javascript:>> 
> wrote:
>
> As a related question: is it possible to use my customed serializer for 
>> anything but ActorRefs, so that I don't have to handle any akka-specific 
>> stuff? What would the correct configuration be?
>>
>> -- 
>> >>>>>>>>>> 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+...@googlegroups.com <javascript:>.
>> To post to this group, send email to akka...@googlegroups.com 
>> <javascript:>.
>> Visit this group at https://groups.google.com/group/akka-user.
>> For more options, visit https://groups.google.com/d/optout.
>>
> ​
> -- 
>
> Patrik Nordwall
> Typesafe <http://typesafe.com/> -  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 https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to