CL Kim
2013-12-25 06:42:09 UTC
Our enterprise application needs to batch very large numbers of log lines into a large (1G) mule message, which is taking too long to serialize/deserialize in a persisted vm:connector queue.
So we wanted to try Kryo instead of the Java serializer/deserializer. But Kryo needs a serializable class to have a zero-arg constructor and fails on DefaultMuleEvent because of that.
Is it possible to subclass and use our own DefaultMuleEvent (and probably also DefaultMuleMessage) class?
We could then add a zero-argument constructor in our subclass. We are aware of the registry-bootstrap.properties file, but don't believe we can register the new subclass so that mule uses our subclass instead.
--
View this message in context: http://mule.1045714.n5.nabble.com/Issues-with-using-Kryo-for-needed-speed-in-serialization-deserialization-tp5719558.html
Sent from the Mule - User mailing list archive at Nabble.com.
So we wanted to try Kryo instead of the Java serializer/deserializer. But Kryo needs a serializable class to have a zero-arg constructor and fails on DefaultMuleEvent because of that.
Is it possible to subclass and use our own DefaultMuleEvent (and probably also DefaultMuleMessage) class?
We could then add a zero-argument constructor in our subclass. We are aware of the registry-bootstrap.properties file, but don't believe we can register the new subclass so that mule uses our subclass instead.
--
View this message in context: http://mule.1045714.n5.nabble.com/Issues-with-using-Kryo-for-needed-speed-in-serialization-deserialization-tp5719558.html
Sent from the Mule - User mailing list archive at Nabble.com.