Hi Christian,

On 12 May 2014 at 11:01:36, christian.kitzmuel...@gmail.com 
(christian.kitzmuel...@gmail.com) 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 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.

-- 
Björn Antonsson
Typesafe – Reactive Apps on the JVM
twitter: @bantonsson

JOIN US. REGISTER TODAY!
Scala
Days
June 16th-18th,
Berlin

-- 
>>>>>>>>>>      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