I've been having a look in the documentation and examples, I can't seem to work out how one would implement a self transition. As shown in the MSC below, sometimes you want to send a message to yourself. I've tried internal ports and interface ports, but it behaves as if the loopback wiring is missing.
How do others implement self transitions? I would love to see even one small working example.
I understand the problem, but imho in most cases you can avoid the problem. The solution would be an internal loop back binding (connecting two internal ports) which would keep it an implementation detail of the actor.
This is not so hard to implement, but we would like to avoid that if possible:
With this feature you can make while loops on Statemachine/Messaging level. You could do something similar by either looping (blocking!) in the detail code (e.g. entry code) or with a timer service to avoid the blocking of other messages. The timer approach also needs much less performance and gives you a call with always the same timebase. The loop back solution would also kill the responsiveness of the thread, since all free cpu power would go into sending and receiving the same message (like a while loop).
You can find the timer service in org.eclipse.etrice.modellib.java/models/TimingService.room and the tutorial here: http://eclipse.org/etrice/documentation/doc/etrice.html#ImporttheTimingService
If you still need this feature, please let us know, since it is not so hard to implement. We just want to keep conceptual integrity.
Also let us know how urgent it is.