Hello William !
--------------------------------------------------------------------------------
In any case I bet the limiting factor will be the speed at which the MQ server accepts messages.
--------------------------------------------------------------------------------
Tomorrow I will give You an answer because I've already created and Integration-tested that part. I just have to make a
test file which generate and write 2*10E5 dummy-messages to an input queue.
About the implementation: The only thing I can be sure about is that the
XML is in a proper format. Therefore it is too risky to let it be line dependent.
I concider a XMLreader and XMLwriter combined with an iterator will do
the job.
Anyway I just have to try - even the ultimate code with less than 15 line
would be nice. There must an XML API having a String like method that simply grabs the whole content of an XML-element including the child elements. ;)