Re: [akka-user] allow-java-serialization = off breaks remoting

2018-02-21 Thread Patrik Nordwall
On Thu, Feb 22, 2018 at 12:34 AM, Alan Burlison wrote: > On 21/02/18 19:14, Patrik Nordwall wrote: > > Search for serialization-bindings in reference.conf, which you find here: >> https://doc.akka.io/docs/akka/current/general/configuration. >>

Re: [akka-user] allow-java-serialization = off breaks remoting

2018-02-21 Thread Alan Burlison
On 21/02/18 19:14, Patrik Nordwall wrote: Search for serialization-bindings in reference.conf, which you find here: https://doc.akka.io/docs/akka/current/general/configuration.html#listing-of-the-reference-configuration Thanks, that's very helpful - I had looked in there before but hadn't

Re: [akka-user] allow-java-serialization = off breaks remoting

2018-02-21 Thread Patrik Nordwall
On Wed, Feb 21, 2018 at 7:18 PM, Alan Burlison wrote: > On 21/02/18 15:52, Konrad “ktoso” Malawski wrote: > > You’re attempting to send a function. >> >> remote ! Identify <<< Identify here is wrong >> >> Note that it is a case class, that takes a parameter: >> >> final

Re: [akka-user] allow-java-serialization = off breaks remoting

2018-02-21 Thread Alan Burlison
On 21/02/18 15:52, Konrad “ktoso” Malawski wrote: You’re attempting to send a function. remote ! Identify <<< Identify here is wrong Note that it is a case class, that takes a parameter: final case class Identify(messageId: Any) remote ! Identify(“hello”) should work just fine. Ahah, my

Re: [akka-user] allow-java-serialization = off breaks remoting

2018-02-21 Thread Konrad “ktoso” Malawski
You’re attempting to send a function. remote ! Identify <<< Identify here is wrong Note that it is a case class, that takes a parameter: final case class Identify(messageId: Any) remote ! Identify(“hello”) should work just fine. -- Cheers, Konrad 'ktoso ' Malawski Akka

[akka-user] allow-java-serialization = off breaks remoting

2018-02-21 Thread Alan Burlison
I'm using protobuf serialization for my application messages and as recommended in the docs I also have "allow-java-serialization = false": https://doc.akka.io/docs/akka/2.5/serialization.html#enable-additional-bindings "A few types in Akka are, for backwards-compatibility reasons, still