Does Akka support in-process messaging without object serialization?

actor, akka, events, java, serialization

Solution

Akka treats local message passing as an optimization, bypassing the remoting machinery which includes the message serializer. See location transparency.

Problem

Looking to use Akka Actors to communicate events between Java threads in the same JVM. Some of these events contain large objects (10-100Mb). I want to avoid serializing these objects while saving memory space by passing only a reference to the object; does Akka support this? I understand it's possible to implement a custom Akka serializer, and that could be a solution, but beyond that I don't know much else about the framework.

Original source