Re: [akka-user] Make unstash() public

2015-02-05 Thread Martin Krasser
On 05.02.15 16:38, Roland Kuhn wrote: Hi Martin, I’m hesitant to do this since this method is not “safe” from a message ordering standpoint: if the unstashed message ends up being re-stashed (due to faulty logic) then it will go from the head to the tail of the stash. It does seem like an “e

Re: [akka-user] Make unstash() public

2015-02-05 Thread Roland Kuhn
Hi Martin, I’m hesitant to do this since this method is not “safe” from a message ordering standpoint: if the unstashed message ends up being re-stashed (due to faulty logic) then it will go from the head to the tail of the stash. It does seem like an “expert feature” to me. The context I cons

[akka-user] Make unstash() public

2015-02-05 Thread Martin Krasser
Hi, does anything speak against making unstash() public (currently private[akka])? In my use case, it would help me to avoid redundantly moving messages between the stash and the actor mailbox usi