camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bjacob <>
Subject Xpath filter issue
Date Thu, 12 Apr 2012 15:05:55 GMT
I've a problem when using xpath filter. Here is my code below.
public class XMLFileFilter extends RouteBuilder{

	public void configure() {
Here is my input file.
 <order id="1"></order>
 <order id="2"></order>

I was trying to read the input file a.xml and filter it to just write the
order ids to a different file(fin.xml) using camel. For some reason, the
filter doesn't work and I always get the output same as the input without
any change.

Can somebody help me on this?


View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message