On Fri, May 8, 2015 at 1:07 PM, Chanan Braunstein <chan...@gmail.com> wrote:

> Hi Endre,
>
> I am not seeing the early stop you mention. Are you talking about this
> line?
> https://github.com/chanan/java-cqrs-starter/blob/feature/ask-not-working/app/actors/GameActor.java#L45
>
> That is inside the context().become and should only fire after the reply
> from the query cluster is received.
>

Ok, but accessing the sender() from the constructor, and then saving it is
wrong. Since the actor has not yet received any messages, it will return
the ActorRef of dead letters.

-Endre




>
> On Friday, May 8, 2015 at 5:39:12 AM UTC-4, Akka Team wrote:
>>
>> It seems like you stop your actor too early, therefore messages destined
>> to it fall into the void (dead letters).
>>
>> -Endre
>>
>> On Wed, May 6, 2015 at 6:03 PM, Chanan Braunstein <
>> chanan.b...@pearson.com> wrote:
>>
>>> Hi Endre,
>>>
>>> I got rid of the persistence to make it easier to recreate the problem.
>>> The github repo with instructions in the readme.md to recreate the
>>> issue are here:
>>>
>>> https://github.com/chanan/java-cqrs-starter/tree/feature/ask-not-working
>>>
>>> --
>>> >>>>>>>>>> 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.
>>> To post to this group, send email to akka...@googlegroups.com.
>>> Visit this group at http://groups.google.com/group/akka-user.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> --
>> Akka Team
>> Typesafe - Reactive apps on the JVM
>> Blog: letitcrash.com
>> 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+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.
>



-- 
Akka Team
Typesafe - Reactive apps on the JVM
Blog: letitcrash.com
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+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