Can I mix Persistent FSM and at-least-once-message delivery in Akka

166 Views Asked by At

Akka provides

  1. A Persistent Actor with at-least-once message deliver (link)
  2. A Persistent FSM (link)

Can I mix the two? I want to be able to maintain a persistent state machine, but also have stage changes trigger events which send messages to other actors with at-least-once message deliver guarantee

1

There are 1 best solutions below

0
On

I had the same question myself, and since there was no answer anywhere on the net - I took it to the akka user list.

In short, it should work but was not tested. Moreover, there's no Java API available for the mixin of the above two traits.

I plan to test such a mixin in the next month or two and provide feedback.

See the following for more details:

  1. Akka user list topic
  2. Akka ticket to track the issue