Re: [akka-user] [java 2.3.x] Cluster response not working

2015-05-09 Thread Endre Varga
On Sat, May 9, 2015 at 1:55 AM, Chanan Braunstein chan...@gmail.com wrote: No that does not fix the issue. The sender is a problem if it ever got that far, but the problem is it does even seem to reach this actor. If it did this line:

Re: [akka-user] [java 2.3.x] Cluster response not working

2015-05-09 Thread Endre Varga
Hi Chanan, I am looking at your code, and I think I found your problem. You launch the GameActor (and thus, the Worker actor) on the system stored in the actorSystem variable (named Application). You use however the system stored in the querySystem variable (named GameClusterSystemQuery) to look

Re: [akka-user] [java 2.3.x] Cluster response not working

2015-05-08 Thread Chanan Braunstein
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

Re: [akka-user] [java 2.3.x] Cluster response not working

2015-05-08 Thread Akka Team
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.braunst...@pearson.com wrote: Hi Endre, I got rid of the persistence to make it easier to recreate the problem.

Re: [akka-user] [java 2.3.x] Cluster response not working

2015-05-08 Thread Akka Team
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

Re: [akka-user] [java 2.3.x] Cluster response not working

2015-05-08 Thread Chanan Braunstein
Oops, you are right, I will move it into the receive loop and try again shortly, thanks! -- 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

Re: [akka-user] [java 2.3.x] Cluster response not working

2015-05-08 Thread Chanan Braunstein
No that does not fix the issue. The sender is a problem if it ever got that far, but the problem is it does even seem to reach this actor. If it did this line: https://github.com/chanan/java-cqrs-starter/blob/master/app/actors/GameActor.java#L61 would have been output into the log which it is

Re: [akka-user] [java 2.3.x] Cluster response not working

2015-05-06 Thread Chanan Braunstein
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/

Re: [akka-user] [java 2.3.x] Cluster response not working

2015-05-05 Thread Akka Team
Hi Chanan, Without looking at the code it is impossible to see what goes wrong. Please package up a small, self-contained reproducer so we can see if there is any issue. -Endre On Sun, May 3, 2015 at 1:14 AM, Chanan Braunstein chanan.braunst...@pearson.com wrote: Hello, I have a cluster

[akka-user] [java 2.3.x] Cluster response not working

2015-05-02 Thread Chanan Braunstein
Hello, I have a cluster system and I am trying to do a request-response across nodes.However the response is not going to the correct actor (going to dead letter). It gets to the destination and gets back to the correct node, but on the source node I am getting: [INFO] [05/02/2015