Good point! I'll stop asking me questions and go further with approach #1 ;-)
On 09/11/13 10:48, "Claus Ibsen" <claus.ib...@gmail.com> wrote: >Hi > >Yeah but converting to a type with generics is hard due type erasure. >So Camel has a hard time to match that Iterator<Item> is what you >want, and not Iterator<FooBar> in case something like that is added in >the future. > >