// set XSLT transformation URL
transformMediator.setXsltKey("xslt-key");
for (int i=0; i<5; i++) {
// invoke transformation, with static enveope
MessageContext synCtx = new TestMessageContextBuilder().addFileEntry("xslt-key",
"../../repository/conf/sample/resources/transform/transform_load_2.xml")
.setBodyFromFile("../../repository/conf/sample/resources/transform/small_message.xml")
.addTextAroundBody().build();
//MessageContext synCtx = TestUtils.getTestContextForXSLTMediator(SOURCE, props);
transformMediator.mediate(synCtx);