how to use xpath in camel-context.xml to check if a particular node is exist or not
问题 I am trying to develop a content-based routing camel application. This application will look at the folder src/data to see if there is a SOAP request file that has node <e2d:getOrderDetaiRequest> , then that file will be copy into target/message, otherwise the file will be copy to target/other. Do you know how to use xpath(or any other tools ) to check that condition (i prefer using camel-context.xml file)? Here is my camel-context <route> <from uri="file://c:/src/data?noop=true"/> <choice>