Rethinking about the serialization process and the object store structure might also be a good thought. Yeah, I will investigate into this and propose a solution to fix the entire problem.
Great! Enhancing on this part could also ease the process of writing custom mediators. Writing factories/serializer pairs gives a lot of control but also adds a lot of boilerplate-code and forces users to get in touch with rather low level XML-API (Axiom). Well, if you do not want to write your own factory and serializer (enabling you to have a custom configuration for the mediator) you can use the class mediator wrapper and just write the mediator and use the properties to set the field values of the class mediator. True, but I was really thinking of using a custom configuration stored in XML (part of synapse.xml) but having just an abstraction for retrieving and storing. I must admit, that I have not yet thought about concrete implementations. Direction of thought was XSD + XML/Java-Object Mapping, something like JAXB 2.x… Regards, Eric
