Hmm, can this be a bug perhaps? This works:
> .marshal(new JaxbDataFormat("org.example.mypackage"))
> .when(header("foo").isEqualTo("bar"))
>
This doesn't: (Compilation error: The method when(Predicate) is undefined
for the type ProcessorDefinition<ChoiceDefinition>)
> .marshal().jaxb("org.example.mypackage")
> .when(header("foo").isEqualTo("bar"))
>
Using Camel 2.10-SNAPSHOT.
