use of nl.nn.adapterframework.pipes.SenderPipe in project iaf by ibissource.
the class ParallelXsltTest method createPipe.
@Override
public SenderPipe createPipe() {
SenderPipe pipe = new SenderPipe();
SenderSeries psenders = createSenderContainer();
xsltSenders = new ArrayList<XsltSender>();
for (int i = 0; i < NUM_SENDERS; i++) {
XsltSender sender = new XsltSender();
// sender.setSessionKey("out"+i);
sender.setOmitXmlDeclaration(true);
sender.addParameter(new Parameter("header", "header" + i));
session.put("sessionKey" + i, "sessionKeyValue" + i);
sender.addParameter(ParameterBuilder.create().withName("sessionKey").withSessionKey("sessionKey" + i));
autowireByType(sender);
psenders.registerSender(sender);
xsltSenders.add(sender);
}
session.put("sessionKeyGlobal", "sessionKeyGlobalValue");
psenders.addParameter(ParameterBuilder.create().withName("sessionKeyGlobal").withSessionKey("sessionKeyGlobal"));
pipe.setSender(psenders);
return pipe;
}
use of nl.nn.adapterframework.pipes.SenderPipe in project iaf by ibissource.
the class XsltSenderTest method createPipe.
@Override
public SenderPipe createPipe() {
SenderPipe pipe = new SenderPipe();
sender = new XsltSender();
autowireByType(sender);
pipe.setSender(sender);
return pipe;
}
Aggregations