Commit graph

13 commits

Author SHA1 Message Date
Johan Andrén
3643f18ded Protobuf serializers for remote deployment #22332 2017-03-16 15:12:35 +01:00
Patrik Nordwall
9df49be5d0 Enable additional-serialization-bindings by default, #22169
* and thereby it was also possibe to simplify the documentation
  in remoting
2017-01-24 18:52:49 +01:00
Philippus Baalman
6c7085252a extended copyright into 2017 2017-01-04 17:37:15 +01:00
Patrik Nordwall
e494ec2183 catch NotSerializableException from deserialization, #20641
* to be able to introduce new messages and still support rolling upgrades,
  i.e. a cluster of mixed versions
* note that it's only catching NotSerializableException, which we already
  use for unknown serializer ids and class manifests
* note that it is not catching for system messages, since that could result
  in infinite resending
2016-12-16 20:14:37 +01:00
Patrik Nordwall
c5e3cc2825 serializer for Optional, #21911
* it's safe to add it to the serialization-bindings, because it had
  no previous binding (doesn't implement java.io.Serializable)
2016-12-01 16:51:39 +01:00
Endre Sándor Varga
bf5b607739 Serialization for system messages, RemoteWatcher and ByteString 2016-09-28 16:26:33 +02:00
Endre Sándor Varga
14e0188a1c 21202: Added more serializers for built-in stuff 2016-09-28 12:17:17 +02:00
Patrik Nordwall
be319afcd2 serialization of ActorRef, #21202 2016-09-28 11:15:54 +02:00
Patrik Nordwall
e61ffd1132 protobuf serialization of Status.Succes, Status.Failure, #21202 (#21565)
* also support for serialization of exceptions, see
  comment in reference.conf

* extract Throwable and Payload methods to helper classes

* add security checks before creating instance from class name
2016-09-28 11:14:33 +02:00
Patrik Nordwall
97e0628173 enable misc serializers by default for Artery, #21339
* placed them in a new section additional-serialization-bindings,
  which is included by default when Artery is enabled
* can also be enabled with enable-additional-serialization-bindings
  flag to simplify usage with old remoting
* added a JavaSerializable marker trait that is bound to JavaSerializer
  in testkit, this can be used in tests so that we eventually can run
  tests without the java.io.Serializable binding
2016-09-09 09:01:15 +02:00
Felix Satyaputra
4d9268214d +rem Support serialization of scala Some and None (#20801) 2016-06-19 17:55:10 +02:00
Björn Antonsson
c66ce62d63 Update to a working version of Scalariform 2016-06-02 22:12:36 +02:00
Felix Satyaputra
c4aec5e8a2 Support Protobuf serialization/deserialization of akka.actor.Identify and akka.actor.ActorIdentity (#20380)
This is to ensure Akka Cluster Client will work with Java Serialization turned off.

However for the sake of backward compatibility, the protobuf serialization for `akka.actor.Identify`
and `akka.actor.ActorIdentity` is turned off.
2016-04-28 15:33:59 +02:00