I am using gather with XPath to join multiple same format message together. It works well as long as there is no message mapping (to transform message into desired format) after Gather. When I have message mapping or xslt to transform message after gather, then I receive error
Inbound processing in endpoint at /getData failed with message "Fault:Sequential processing failed for number 1. Exchange[ID-vsa]. Caused by: [com.sap.it.rt.camel.aggregate.exception.AggregationStrategyException - com.sap.it.rt.camel.aggregate.exception.AggregationStrategyException: com.sap.it.rt.camel.aggregate.exception.AggregationStrategyException: No nodes Found matching the source XPath - Cannot continue with Aggregation.]", caused by "AggregationStrategyException:No nodes Found matching the source XPath - Cannot continue with Aggregation."
I am using Sender channel soap (Request-Reply) request to return XML message.
In trace, I can see error message envelope appear on join action. Any clue what is the reason for such error when using message transformation after gather action?