When it comes to adding features to Akka, there is an elegant way to do that by using a very handy extension mechanism called Akka Extensions.
Adding a custom extension requires implementing two basic components: Extension and ExtensionId. There are many examples of extensions that will bring your application and