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