Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from("jms:so")
- .setHeader("comment").xpath("//comment()", String.class)
- .setHeader("firstComment").xpath("//comment()[1]", String.class)
- .log("comment is ${headers.comment}")
- .log("first comment is ${headers.firstComment}")
- .to("jms:so.out");
- <StackOverflow>
- <!--Camel-->
- <Nested>
- <!--Nested Camel-->
- </Nested>
- </StackOverflow>
Add Comment
Please, Sign In to add comment