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.
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
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