[Blog post] reading an XML file into WSO2 ESB, transform it and expose it as an API
This proxy will dump the file to "home/nuwanbando/temp/files/out" location.
This file need to be read on-demand, once requested. ESB by default does not have a mediator to read XML files so that the mediation flow can manipulate the content, hence we have to write a custom class mediator to do this job.
Read the full blog post.