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 Claus Ibsen
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 ---

Re: Problem with Java DSL filter

2012-06-04 Thread addict
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.

Re: Problem with Java DSL filter

2012-06-04 Thread Claus Ibsen
> > } > > > 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

Problem with Java DSL filter

2012-06-04 Thread addict
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