from(Main.strPath)
            .setBody(xpath("/rss/channel/item/attribute/@temp",
String.class))
                    .to(Main.test);

There is example. What should i define in "to()"? I tried: path to txt doc,
xml doc, and to String variable - it doesn't work( I need this attribute for
another manipulation...



--
View this message in context: 
http://camel.465427.n5.nabble.com/Creating-Apache-Camel-route-to-get-value-of-XML-file-attribute-tp5775054.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to