Re: Route message based on Tag Value - Apache Camel Spring

2013-12-23 Thread kraythe .
This page will probably help. http://camel.apache.org/xpath.html *Robert Simmons Jr. MSc. - Lead Java Architect @ EA* *Author of: Hardcore Java (2003) and Maintainable Java (2012)* *LinkedIn: **http://www.linkedin.com/pub/robert-simmons/40/852/a39

Route message based on Tag Value - Apache Camel Spring

2013-12-20 Thread raheelhasanfsd .
I am trying to learn Apache Camel Routes. For a basic example, I would like to know how to route based on values in an XML tag. For example, if we have 3 xml files with parent tags: I want to route these 3 into 3 different pipes... so here is my idea (in Spring): ${body} contains '?xml'