Thanks, I just wanted to be sure I wasn't missing something. Cheers, Christian
Am Montag, 12. Mai 2014 14:19:33 UTC+2 schrieb Björn Antonsson: > > Hi Christian, > > On 12 May 2014 at 11:01:36, [email protected] <javascript:> ( > [email protected] <javascript:>) wrote: > > Hi, > > I think I stumbled over a potential pitfall when using a Processor with a > FSM - in case I have a RecoveryFailure the FSM will "handle" the message > via default handling. If I have read the code correctly, the Processor will > stay in a state where it stashes incoming messages forever - which will > fill up your heap. > > Is this correct? If so I think it should be mentioned in the example docs. > > > Yes, the default behavior of the FSM is to only log the unhandled message, > which will swallow the failure. I've opened a ticket > https://github.com/akka/akka/issues/15171 to add information to the docs > about this, and how to handle it. > > > You can add handling of the RecoveryFailure to the whenUnhandled of your > FSM to take the appropriate action. > > > B/ > > > > -- > >>>>>>>>>> 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 [email protected] <javascript:>. > To post to this group, send email to [email protected]<javascript:> > . > Visit this group at http://groups.google.com/group/akka-user. > For more options, visit https://groups.google.com/d/optout. > > > -- > *Björn Antonsson* > Typesafe <http://typesafe.com/> – Reactive <http://reactivemanifesto.org/> > Apps > on the JVM > twitter: @bantonsson <http://twitter.com/#!/bantonsson> > > JOIN US. REGISTER TODAY! <http://www.scaladays.org/> > Scala <http://www.scaladays.org/> > Days <http://www.scaladays.org/> > June 16th-18th, <http://www.scaladays.org/> > Berlin <http://www.scaladays.org/> > > -- >>>>>>>>>> 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/d/optout.
