My case is:
- single JVM
- Java only (i don't need to be polyglot)
- I don't want to pay serialization costs to publish an immutable event on the bus (publishing the reference to the java object would work).
I understand the scope of the vert.x event bus is much broader than my use case.
I had in mind a behaviour similar to akka: when you go distributed you have to provide serialization for your messages, if you stay local references get passed.
Is there anything that would allow me to do that in Vert.x?