Removed unrelated things from the summary.
Also we should note that since PETALSESBCONT-345 was (partially) resolved, everything is broken because a provider that uses the IN message will consumes it and then it won't be possible to serialize it or things like that.
I'm really wondering if the best is not to use DOMSource all the time because anyway, we keep so much copies of a Source in memory with the stream forker that it becomes useless and counter-productive !
In Apache Camel, they (optionally, there is a flag to activate it) cache all the stream-like content of message and, potentially, they do it on disk! This relates in a way to PETALSESBCONT-339.
See also PETALSESBCONT-339 for a related topic.
In particular, in the case of Message containing big objects, big attachment, etc, they should maybe not stored in the queue but outside of it.
This is because the caching of stream and attachement already is meant to store to disk and/or memory, so some kind of compatible system must be found (for example when storing big messages to disk, a reference to them could be stored in the queue instead… something like that, more work must be done to devise a good strategy).