concept router pattern in category akka

This is an excerpt from Manning's book Akka in Action.
Implementing the router pattern doesn’t always require Akka routers. When the decision of the routee is based on the message or some state, it’s easier to implement it in a normal actor, because you can leverage all the benefits of actors. You do need to address possible concurrency issues when creating a custom Akka router.
In this section we’ll look at some implementations of the router pattern using normal actors. We’ll start with a message-based router. In the next section, we’ll use the become/unbecome functionality to implement a state-based router. After this, we’ll discuss why it’s not required for a router pattern to be implemented in a separate actor, but that it’s also possible to integrate it into the message-processing actor.