Re: [akka-user] PoisonPill and message ordering

2015-04-16 Thread Roland Kuhn
Hi Anders, the problem is that PoisonPill is an AutoReceiveMessage, meaning that the PersistentActor trait does neither see it nor can it do anything about it—it will be handled not matter whether persistence callbacks are outstanding or not. We will eventually remove this message since it is s

[akka-user] PoisonPill and message ordering

2015-04-16 Thread Anders Båtstrand
I am having some troubles understanding the finer details of the PoisonPill. As I understand it, it is a normal message, and will be processed AFTER the persist-callback is executed. I have the following code in my onReceiveCommand: System.out.println("About to persist: " + message); persist(me