ClientActorBehavior<?> createBehavior(final ClientIdentifier clientId) {
final ActorSystem system = actor.getContext().system();
- final ClientActorContext context = new ClientActorContext(self(), system.scheduler(), system.dispatcher(),
- persistenceId(), clientId);
+ final ClientActorContext context = new ClientActorContext(self(), persistenceId(), system,
+ clientId, actor.getClientActorConfig());
return actor.initialBehavior(context);
}