Hi, Since this is a breaking change in behavior, it can only be part of the 2.4 release and forward.
B/ On 24 September 2014 at 22:56:53, Mohnish Kodnani ([email protected]) wrote: To be more specific , will this change be available in 2.3.x codeline. On Wednesday, September 24, 2014 1:23:31 PM UTC-7, Mohnish Kodnani wrote: Has this been released ? On Tuesday, April 1, 2014 12:27:36 PM UTC-7, Tyler C wrote: Awesome, thanks for the positive responses! Just for the benefit of providing breadcrumbs, here's the ticket I created on Patrik's advice (you've probably seen it already). https://www.assembla.com/spaces/akka/tickets/3970 Tyler On Tuesday, April 1, 2014 12:18:22 PM UTC-7, rkuhn wrote: Hi Tyler, 29 mar 2014 kl. 19:35 skrev Tyler C <[email protected]>: I just experienced this issue myself. It seems to me that there could be value in allowing the implementer of the FSM to decide which transitions are valuable and which are not. Akka does provide the distinction between goto(state) and stay() -- couldn't the first imply a transition where the second does not? Back in my college automata course, we implemented plenty of state machines with same-state transitions that were significant (consuming messages in the process): regular expressions like /(a)*b/ being a perfect example. My work-around has been to implement two identical states that simply bounce between each other. While workable it looks quite clumsy, as in this FizzBuzz example: https://gist.github.com/JavadocMD/9859519 Is there any chance the Akka team could reconsider this implementation or are there compelling reasons to leave it as-is? The reason was mostly that the FSM did what I needed at the time ;-) What you propose makes sense, especially using goto(sameState) (which should currently be unused) would be a good way to encode this. Regards, Roland Thanks, Tyler On Monday, March 17, 2014 2:09:50 PM UTC-7, Patrik Nordwall wrote: Hi, On Mon, Mar 17, 2014 at 5:43 PM, brett <[email protected]> wrote: Hi I have a finite state machine modelled in Akka FSM that in certain circumstance transitions back to the same state after updating some values. I have found that the onTransition handler is called when i transition from one different state to another (e.g. A to B) but this handler is not called when I transition from the same state (e.g. A to A). Is this expected behaviour of the Akka FSM? Yes, that is expected. Staying in the same state is not a state transition. Cheers, Patrik cheers Brett p.s. I originally posted this question over on the play framework user list but i have been advised to post it here so apologise to those of you who see this question twice in your inbox. -- >>>>>>>>>> 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. -- Patrik Nordwall Typesafe - Reactive apps on the JVM Twitter: @patriknw -- >>>>>>>>>> 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. Dr. Roland Kuhn Akka Tech Lead Typesafe – Reactive apps on the JVM. twitter: @rolandkuhn -- >>>>>>>>>> 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. -- Björn Antonsson Typesafe – Reactive Apps on the JVM twitter: @bantonsson -- >>>>>>>>>> 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.
