Re: Problem with Java DSL filter

2012-06-04 Thread addict
AHAAA!!! Stupid mistake. Thanks. -- View this message in context: http://camel.465427.n5.nabble.com/Problem-with-Java-DSL-filter-tp5713922p5713968.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Problem with Java DSL filter

2012-06-04 Thread addict
Yes Claus, when the routes execute for the first time tag will be null, however any subsequent time tag will be having the string value assigned to it (provided header has attribute tag which is having != null value, which is the case with us). However on debugging i could see on each invocation t

Problem with Java DSL filter

2012-06-04 Thread addict
public class Test extends RouteBuilder { private volatile String tag = null; @Override public void configure() throws Exception { from("http://url/a.csv";) .filter(header("Tag").isNotNull()) .f