I'm struggling with the types in an Akka Flow using Java 7. This is what I
am setting up:
Function converteerOrganisatie = ...;
Flow converteerOrganisatieFlow =
Flow.of(MA822.class).map(converteerOrganisatie);
This is the error I'm getting:
Hmm, weird - this should just work (sanity checked a similar example locally).
Can you paste a full snippet of code that showcases the problem? I don't see
how it shouldn't work here.
Are you sure you're importing the right Function interface?
--
Cheers,
Konrad `ktoso` Malawski
Akka @ Typesafe
Sorry, it was indeed a wrong Function. With akka.japi.function.Function it
works fine!
Op vrijdag 4 september 2015 18:19:51 UTC+2 schreef Konrad Malawski:
>
> Hmm, weird - this should just work (sanity checked a similar example
> locally).
> Can you paste a full snippet of code that showcases
Cool happy hakking!
On Sep 4, 2015 19:36, "Jeroen Kransen" wrote:
> Sorry, it was indeed a wrong Function. With akka.japi.function.Function it
> works fine!
>
> Op vrijdag 4 september 2015 18:19:51 UTC+2 schreef Konrad Malawski:
>>
>> Hmm, weird - this should just work