Hi @anilkumble
If you already know the types of messages that you will receive then you can use Akka Cluster Roles They fit the use case better.
An alternative approach would be to use Akka Streams and use groupBy operator to route messages to a different substream based on type.