I am getting the followiong warning and don't know how to get rid of it:
Predicate is a raw type. References to generic type Predicate should be parameterized
for the following Java line:
Predicate numberOf = header( "numberOf" ).isEqualTo("1");
I am using Camel 1.6.1
Ah its just a warning, it works fine.
You can add
To the method signature.
In Camel 2.0 the Predicate is no long generified so you wont have the warning there.