Commit graph

24 commits

Author SHA1 Message Date
Viktor Klang
e59394628c #3206 - Adding expectTerminated to TestKit 2013-04-09 14:48:17 +02:00
Patrik Nordwall
887af975ae Deprecate actorFor in favor of ActorSelection, see #3074
* Deprecate all actorFor methods
* resolveActorRef in provider
* Identify auto receive message
* Support ActorPath in actorSelection
* Support remote actor selections
* Additional tests of actor selection
* Update tests (keep most actorFor tests)
* Update samples to use actorSelection
* Updates to documentation
* Migration guide, including motivation
2013-04-08 18:11:52 +02:00
Björn Antonsson
a4ab7a9841 Cleaning up the ActorRef serialization according to review. See #3137 2013-04-03 10:49:38 +02:00
Björn Antonsson
33080a4155 Correctly serialize local actor refs from other actor systems. See #3137 2013-04-03 10:32:13 +02:00
Rich Dougherty
a041a295ed Drop unserializable and oversized messages, preserving association. Fixes #3070 2013-03-27 16:55:13 +13:00
Patrik Nordwall
b738487dc8 Add UID to RemoteActorRef, see #3072
* Sending to a previous incarnation of an actor shall fail,
  to make remote actors work the same way as local ones (in
  the sense that after Terminated() the ref is not working anymore)
* Changed equality of ActorRef to take the uid into account
* Parse uid fragment in RelativeActorPath and ActorPathExtractor
* Handle uid in getChild and in RemoteSystemDaemon
* Use toSerializationFormat and toSerializationFormatWithAddress
  in serialization
* Replaced var uid in ActorCell and ChildRestartStats with
  constructor parameters (path)
* Create the uid in one single place, in makeChild in parent
* Handle ActorRef with and without uid in DeathWatch
* Optimize ActorPath.toString and friends
* Update documentation and migration guide
2013-03-21 20:25:16 +01:00
Björn Antonsson
268b8f2185 Configure RemotingSpec to not create 500 threads. See #3134 2013-03-21 10:07:48 +01:00
Patrik Nordwall
a67fa18f8d Reduce unwanted logging from remoting, see #2826
* Handle logging in EndpointManager supervisorStrategy
* Added some more exception types to be able to differentiate
  failures
2013-03-11 13:36:00 +01:00
Patrik Nordwall
f4d59383d7 Log actor failures in supervisor, see #2824
* To make it possible to override with application
  specific logging, or mute logging for certain failures
* Changed log level of Resume failures to WARNING, which
  caused all the changes to the tests
2013-03-11 13:33:37 +01:00
Patrik Nordwall
9ed701a75c Restore ssl settings in reference.conf, see #3022
* Cleanup and addition of configuration tests for remote settings
2013-02-11 14:45:00 +01:00
Björn Antonsson
a54659e5b4 We can't set the SHA1PRNG random source reliably from within Akka. See #2977 2013-02-08 16:20:40 +01:00
Patrik Nordwall
9dc124dacd Remove work-around for sending to broken connections, see #2909
* Previous work-around was introduced because Netty blocks when sending
to broken connections. This is supposed to be solved by the non-blocking
new remoting.
* Removed HeartbeatSender and CoreSender in cluster
* Added tests to verify that broken connections don't disturb live connection
2013-01-31 13:41:02 +01:00
drewhk
fe22c7515f Reversed protocol scheme order in Addresses 2013-01-24 17:23:51 +01:00
Endre Sándor Varga
f338acb3fb Fixed missing hostname setting in RemotingSpec 2013-01-24 14:35:46 +01:00
Endre Sándor Varga
99adbdfab4 Changed and documented new remoting configuration #2593 2013-01-24 12:35:05 +01:00
Viktor Klang
adfeb2c1f0 #2879 - updating copyright info 2013-01-09 11:38:00 +01:00
Roland
6c31d5313e rename AkkaSpec.{atTermination => afterTermination} 2013-01-03 17:17:12 +01:00
Roland
ff24be7650 introduce AkkaSpec.beforeTermination hook, e.g. to silence shutdown logs
- apply it in RemoteRouterSpec, RemoteDeathWatchSpec, RemotingSpec,
  AkkaProtocolStressTest and ThrottlerTransportAdapterSpec
2013-01-03 17:09:11 +01:00
Roland
8c537fbc37 remove postfixOps warnings in remote tests 2013-01-03 12:33:09 +01:00
Roland
a367ad03da remove fixed ports from RemotingSpec, see #2843 2013-01-03 12:29:30 +01:00
Endre Sándor Varga
0705d47a88 Streamlined configuration, transport adapters and FailureInjector
- Transports no longer uses raw ActorRefs as listeners but proper interfaces.
 - Added managementCommand support to Transports
 - Added support for dynamically loadable transport adapters
 - Added throttler/failure injector transport adapter
 - added actor based adapter support
 - Changed configuration method of multiple transports - Fixed tests to work with the new remoting
2012-12-03 10:06:38 +01:00
Endre Sándor Varga
5b96c28acd Fixed according to review comments. 2012-11-22 13:33:48 +01:00
Endre Sándor Varga
b6bdb34e44 Ported threadpool limiting to the new NettyTransport 2012-11-21 12:17:45 +01:00
Endre Sándor Varga
5f9253b79e New Remoting implementation (iteration 3) #2053
- Asynchronous lockless remoting
 - Pluggable transport drivers
 - Multiple transport support
 - Simplified lifecycle events
 - Support for netty based TCP, SSL+TCP and UDP support
 - Updated Akka protocol with soft-state connections and failure detection
 - Refactored failure detectors (currently duplicated from cluster)
2012-10-29 16:32:15 +01:00