Hi, just tried a simple xslt example with camel 2.10.4 by modifying the file copier example of the camel in action book.
I don't understand why there is no body output after the xslt step and why it doesn't step into the processor when there is a breakpoint inside it. What am I doing wrong here? How can I achieve a further processing of the xslt output in the same route? public class XSLTTest { public static void main(String args[]) throws Exception { // create CamelContext CamelContext context = new DefaultCamelContext(); // add our route to the CamelContext context.addRoutes(new RouteBuilder() { public void configure() { from("file:data/xslt/test.xml?noop=true") .to("xslt:file:C:\\dev\\java\\camelinaction-source\\chapter1\\file-copy\\data\\xslt\\test.xsl") .log("converted: ${body}") .process(new Processor() { @Override public void process(Exchange exchange) throws Exception { String s=""; } }); } }); // start the route and let it do its work context.start(); Thread.sleep(10000); // stop the CamelContext context.stop(); } }