0 Replies Latest reply on Aug 7, 2014 6:16 PM by Rich DiCroce

    CommandDispatcher: how to handle non-Serializable classes?

    Rich DiCroce Novice

      I'm working with the public Clustering API that was added in WildFly 8. I have an issue where I'm trying to send a Command to all nodes in the cluster using CommandDispatcher, but the Command transitively contains an object that does not implement Serializable. I don't control the class in question, so I can't just make it Serializable, but I could easily write something to perform the serialization. Is there any way to plug in a special serialization implementation for a particular class and have it be used when serializing a Command?