private void sendReply(ActorContext context, SyncRequestMessage request, Exception ex, ServerSync syncResponse) { LOG.debug("[{}] response: {}", actorKey, syncResponse); ServerSync copy = ServerSync.deepCopy(syncResponse); ServerSync.cleanup(syncResponse); NettySessionResponseMessage response = new NettySessionResponseMessage( request.getSession(), copy, ex, request.getCommand().getMessageBuilder(), request.getCommand().getErrorBuilder()); tellActor(context, request.getOriginator(), response); scheduleActorTimeout(context); }