}
Object payload = input.get(inputPartName);
Source inputSource = getSourceFromPayload(payload);
// Create and send exchange
try {
BPEEndpoint endpoint = BPEEndpoint.getCurrent();
BPEComponent component = (BPEComponent) endpoint.getServiceUnit().getComponent();
DeliveryChannel channel = ((BPELifeCycle) component.getLifeCycle()).getContext().getDeliveryChannel();
MessageExchangeFactory factory = channel.createExchangeFactory();
// TODO: need to configure mep
MessageExchange me = factory.createExchange(this.mep);
me.setInterfaceName(interfaceName);