XPath operation selector does not work for Camel bindings. It reports "SWITCHYARD034503: No node has been matched with the XPath expression '//person/language' in the payload. It couldn't determine the operation." even if the message is correct.
It is probably caused by wrong implementation of extractDomDocument method in CamelOperationSelector https://github.com/jboss-switchyard/components/blob/master/common/camel/src/main/java/org/switchyard/component/camel/common/selector/CamelOperationSelector.java#L35
I guess the implementation should be same as in HttpOperationSelector/JMSOperationSelector/CCIOperationSelector.
|