Event adapter is the recommended way to add tags, to keep the logic in the
actor free from this event consuming aspect.

/Patrik
tis 19 sep. 2017 kl. 18:52 skrev <t.ferra...@reaqta.com>:

> Is there a way to add tags (i.e. *akka.persistence.journal.Tagged*) to
> domain events and *StateChangeEvent* in a *PersistentFSM* actor? I
> haven't been able to find anything in the documentation, so I've
> implemented that using an *EventAdapter*, but the solution I've found is
> rather complex. I was wondering if an easier way exists before trying to
> improve my current solution. If you want I can give more details about my
> current implementation.
>
> Thanks,
>         Tomassino
>
> --
> >>>>>>>>>> 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 https://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
>>>>>>>>>>      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 https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to