Quantcast
Channel: Akka Libraries - Discussion Forum for Akka technologies
Viewing all articles
Browse latest Browse all 1369

Support for type parameters or type members in Akka messages

$
0
0

@jchapuis wrote:

Hi there,

when looking at the documentation about serialization https://doc.akka.io/docs/akka/current/serialization.html, I haven’t found mention or word of caution about what happens to message types bearing type parameters and/or type members.

If I understand well, the default jackson serializer equipped with the scala module will support messages involving “collection” fields such as Option, List, etc. but the message itself being generic won’t be directly supported without some intervention, correct?

I’m thinking it would be worth mentioning there maybe? - especially as locally in a single JVM it will appear to work, and when forcing serialization or scaling to multi-node, messages won’t make it through

Posts: 4

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 1369

Trending Articles