channel.send(exchange);
}
}
protected SimpleRequestMessageEvent createEvent(MessageExchange exchange, String inputPartName) throws Exception {
BPELStaticKey bsk = new BPELStaticKey();
bsk.setTargetNamespace(getInterfaceName().getNamespaceURI());
bsk.setPortType(getInterfaceName().getLocalPart());
if (exchange.getOperation() != null) {
bsk.setOperation(exchange.getOperation().getLocalPart());
}
SimpleRequestMessageEvent msg = new SimpleRequestMessageEvent();
msg.setStaticKey(bsk);
XMLInteractionObject interaction = new XMLInteractionObject();
interaction.setDocument(transformer.toDOMDocument(exchange.getMessage("in")));