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.
efer to it as it changes.
Do some googling to read more about this.
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Problem-with-Java-DSL-filter-tp5713922p5713957.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
--
Claus Ibsen
---
tag was passed as null
even though SoP is printing the correct value.
--
View this message in context:
http://camel.465427.n5.nabble.com/Problem-with-Java-DSL-filter-tp5713922p5713957.html
Sent from the Camel - Users mailing list archive at Nabble.com.
>
> }
>
>
> However the comparison always pick up the tag value as null. Can anybody
> help
>
Do you mean this filter?
> .filter(header("Tag").isNotEqualTo(tag))
Then its because the configure method is most likely executed before
you have assigned a value to
System.out.println(tag);
}
}).to("file://c:/test/");
}
}
However the comparison always pick up the tag value as null. Can anybody
help
--
View this message in context:
http://camel.465427.n5.nabble.com/Problem