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");
Looks like Camel code, so post in the Camel forum please.
But I guess its the 1.x witch had generics in a few too many places
Try with:
Predicate