Hi, If direct is changed to SEDA, the multiple branches still fail.
/Error processing exchange. Exchange[Message: [Body is instance of org.apache.camel.StreamCache]]. Caused by: [org.quartz.JobExecutionException - org.apache.camel.CamelExchangeException: Parallel processing failed for number 0. Exchange[Message: [Body is instance of org.apache.camel.StreamCache]]. Caused by: [org.apache.camel.builder.xml.InvalidXPathExpression - Invalid xpath: /queryCompoundEmployeeResponse/CompoundEmployee. Reason: javax.xml.xpath.XPathExpressionException: Failure converting a node of class javax.xml.transform.sax.SAXSource: I/O error reported by XML parser processing null: Invalid byte 2 of 4-byte UTF-8 sequence.]]|/ If I convert the streamcache to String / byte[] after the stream cache producer & before the multicast, the issue does not arise. <camel:to uri="myProducer"/> * <camel:convertBodyTo type="java.lang.String" charset="UTF-8" /> * <camel:multicast id="ParallelGateway_1" parallelProcessing="true" stopOnException="true"> <camel:to uri="direct://SequenceFlow_5"/> <camel:to uri="direct://SequenceFlow_7"/> </camel:multicast> </camel:route> Thanks, Lakshmi -- View this message in context: http://camel.465427.n5.nabble.com/Data-Corruption-in-SFTP-in-Parallel-Multicast-branches-tp5761673p5767007.html Sent from the Camel - Users mailing list archive at Nabble.com.