// Implementation methods // ------------------------------------------------------------------------- protected ComplexDataObject unmarshalDataObject(Exchange exchange) throws InvalidPayloadException, IOException { // lets try use the Sink to unmarshall it Transform transformer = getTransform(); Element input = transformer.getInput(0); C24IOSource source = new C24IOSource(input); return source.parseDataObject(exchange); }